chore: update documentation

This commit is contained in:
Lucas Nogueira
2026-09-22 11:30:47 -03:00
parent d869c162a7
commit a87a3c7d44
104 changed files with 4875 additions and 222 deletions
+3
View File
@@ -4,13 +4,16 @@
use serde::{ser::Serializer, Serialize};
/// Alias for the result type returned by the geolocation APIs.
pub type Result<T> = std::result::Result<T, Error>;
// TODO: Improve Error handling (different typed errors instead of one (stringified) PluginInvokeError for all mobile errors)
/// Errors that can occur while interacting with the geolocation APIs.
#[derive(Debug, thiserror::Error)]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub enum Error {
/// Forwards an error returned by the underlying Android or iOS plugin invocation.
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(