NocAuthException class Null safety
Thrown when the API returns an authentication error.
- Inheritance
-
- Object
- NocLLMException
- NocAuthException
Constructors
- NocAuthException(String message, {int? statusCode})
-
Creates a NocAuthException with the given
message.const
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- message → String
-
Human-readable error message.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- statusCode → int?
-
HTTP status code, if available.
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited