AuthCliFault class

Thrown by AuthService for every login/logout failure. The command — never the service — turns this into a printed message and exit(code).

Implemented types

Constructors

AuthCliFault(int exitCode, String message, {String? errorCode})
const

Properties

errorCode → String?
One of the closed cli_login_failed error_code values (docs/analytics/ANALYTICS.md), or null when the failure doesn't map onto one — the command skips the analytics call in that case.
final
exitCode → int
One of lib/util/exit_codes.dart's codes — no new code is added by this slice.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
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.
override

Operators

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