MCPAuthenticationException class

Authentication error

Inheritance

Constructors

MCPAuthenticationException.new(String message, [dynamic originalError, StackTrace? stackTrace])
MCPAuthenticationException.withContext(String message, {dynamic originalError, StackTrace? originalStackTrace, String? errorCode, Map<String, dynamic>? context, bool recoverable = false, String? resolution})

Properties

context Map<String, dynamic>?
Additional context for debugging
finalinherited
errorCode String?
Error code for programmatic handling
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Error message
finalinherited
originalError → dynamic
Original error that caused this exception
finalinherited
originalStackTrace StackTrace?
Original stack trace
finalinherited
recoverable bool
Whether this error is recoverable
finalinherited
resolution String?
Suggestions for resolving the error
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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