LockallyException class
Typed error mapped from a non-2xx API response. The API returns RFC 7807
application/problem+json; the fields let callers branch on status/code
and log requestId for support.
- Implemented types
Constructors
- LockallyException({required int status, required String message, String? code, String? requestId})
- LockallyException.fromResponse({required int status, Object? body, String? requestId})
-
Parse a
problem+jsonbody (falls back to a generic message).factory
Properties
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