Skip to main content

Error

Type Alias Error 

Source
pub type Error = BacnetError;
Expand description

Canonical error surface for architecture-level composition.

Aliased Type§

pub enum Error {
    ObjectNotFound {
        object_type: String,
        instance: u32,
    },
    PropertyNotFound {
        property: String,
    },
    InvalidObjectType(u16),
    Server(String),
    Protocol(String),
    Io(Error),
    Core(Error),
}

Variants§

§

ObjectNotFound

Object not found.

Fields

§object_type: String
§instance: u32
§

PropertyNotFound

Property not found.

Fields

§property: String
§

InvalidObjectType(u16)

Invalid object type.

§

Server(String)

Server error.

§

Protocol(String)

Protocol error.

§

Io(Error)

I/O error.

§

Core(Error)

Core error.