Skip to main content

Module error

Module error 

Source
Expand description

UnifiError and the crate’s Result alias. Typed errors for the UniFi client.

Every fallible public function in this crate returns Result, never a boxed/opaque error. Callers that need to react differently to “the API key was rejected” versus “the controller is unreachable” can match on UnifiError instead of parsing a message string.

Enums§

UnifiError
Everything that can go wrong talking to a UniFi controller.

Type Aliases§

Result
Result alias for this crate’s fallible operations.