AlphaXProtocolRequirementException class
The final negotiated protocol did not satisfy the request requirement.
- Inheritance
-
- Object
- AlphaXException
- AlphaXProtocolRequirementException
Constructors
- AlphaXProtocolRequirementException({required AlphaXProtocolRequirement requiredProtocol, required AlphaXProtocol actualProtocol, String? message, Object? cause, StackTrace? stackTrace})
- Creates a protocol requirement failure.
Properties
- actualProtocol → AlphaXProtocol
-
Final protocol observed by the transport, or unknown.
final
- cause → Object?
-
Optional implementation-level cause for logging or debugging.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → AlphaXErrorKind
-
Normalized category.
finalinherited
- message → String
-
Human-readable explanation safe for ordinary application diagnostics.
finalinherited
- requiredProtocol → AlphaXProtocolRequirement
-
Protocol required by the caller.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Optional cause stack trace.
finalinherited
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