Skip to content

Error

Namespace: Signal.Bot

Full Name: Signal.Bot.Error

Summary

Represents an error or event that occurs during Signal Bot operations, with an optional exception and categorized error type. This serves as the base record for specific error types like ConnectionError and DisconnectionError.

Properties

Exception

The exception that caused the error, or null if this represents an event rather than an actual error condition.

Source

The type/category of the error for classification and handling purposes (see FailureSource).

Methods

#ctor

csharp
#ctor(Exception, Source)

Represents an error or event that occurs during Signal Bot operations, with an optional exception and categorized error type. This serves as the base record for specific error types like ConnectionError and DisconnectionError.

Parameters:

  • Exception - The exception that caused the error, or null if this represents an event rather than an actual error condition.
  • Source - The type/category of the error for classification and handling purposes (see FailureSource).