cangaroo/errors

Error types for cangaroo.

This module defines the error types that can be returned by cangaroo. All functions in the cangaroo module return Result types with CanError as the error variant.

Types

pub type CanError {
  StartLinkError(reason: String)
  InterfaceBoundError(interface: String)
  UnknownError(reason: String)
  InvalidMessageTypeError
}

Constructors

  • StartLinkError(reason: String)
  • InterfaceBoundError(interface: String)
  • UnknownError(reason: String)
  • InvalidMessageTypeError
Search Document