Error#

#[non_exhaustive] pub enum Error#

Variants#

Io(Error)#
HomeDirNotFound#
Yaml(Error)#
Conjure#
details: String#
status: Option<u16>#
NoDefaultWorkspace#
Rid#
rid: String#
reason: String#
TimestampSecondsOutOfRange(i64)#
TimestampNanosOutOfRange(i64)#
InvalidTimestamp#
seconds: i64#
nanos: i64#
DurationOutOfRange#
seconds: u64#
nanos: u32#
InvalidBearerToken#
reason: String#
InvalidUserAgent#
reason: String#
InvalidServiceUrl#
url: String#
reason: String#
ProfileNotFound#
name: String#
ConfigNotFound#
path: String#
ConfigMissingVersion#
path: String#
ConfigUnsupportedVersion#
version: u32#
path: String#
EnvVarNotSet#
name: &'static str#
NotFound#
resource: &'static str#
MissingChannelDataType#
channel: String#
UnsupportedChannelDataType#
data_type: String#
Upload#
details: String#
Download#
details: String#
Ingest#
details: String#
UnexpectedResponse#
field: &'static str#
Transport(TransportError)#
Unexpected(UnexpectedError)#
WorkspaceRequired#
FileStore(FileStoreError)#

Implementations#

impl Error
pub fn http_status(&self) -> Option<u16>#

Trait implementations#

impl From<Status> for Error
fn from(status: Status) -> Self
impl From<Error> for Error
fn from(value: Error) -> Self

Derived: Debug, Error, Display, From, From, From, From

Auto traits: Send, Sync, Unpin, !UnwindSafe, !RefUnwindSafe