TalsecException class

A base exception class for Talsec exceptions.

This exception class implements the Exception interface and provides a basic structure for Talsec-specific exceptions. It includes an error code, an optional message, and an optional stackTrace. The default value for the code parameter is 'talsec-failure'.

Implemented types
Implementers

Constructors

TalsecException({String? message, String code = 'talsec-failure', String? stackTrace})
Constructs an instance of TalsecException.
const
TalsecException.fromPlatformException(PlatformException exception)
Constructs an instance of TalsecException from a PlatformException.

Properties

code String
A code which identifies the type of exception.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
A message that provides human-readable information about the exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace String?
A stackTrace for this exception.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited