Skip to content

Commit

Permalink
documentation: document data_switch::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
intarga committed Oct 12, 2023
1 parent 3dae832 commit ae207c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/data_switch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ use olympian::SpatialTree;
use std::collections::HashMap;
use thiserror::Error;

/// Error type for DataSwitch
///
/// When implementing DataConnector, it may be helpful to implement your own
/// internal Error type, but it must ultimately be mapped to this type before
/// returning
#[derive(Error, Debug)]
#[non_exhaustive]
pub enum Error {
Expand Down

0 comments on commit ae207c4

Please sign in to comment.