Module errors

Module errors 

Source
Expand description

Error types for register interface operations.

This module provides a two-tier error handling system:

  1. Specific error types that preserve detailed error information including the underlying error types
  2. A generic Error type that can represent any error case but forgoes the specific error details

This approach allows for detailed error handling when needed while also providing a simpler, unified error type when the specific details aren’t required.

Enums§

CommandError
Error that can occur when executing a command.
Error
A simplified error type that represents any error that can occur during register operations.
ReadRegisterError
Error that can occur when reading from a register.
WriteRegisterError
Error that can occur when writing to a register.