TailscaleOperationException class
Base class for operation-specific failures such as up() or listen().
Carries a structured code so callers can branch on outcomes without matching message, plus the HTTP statusCode from the local API when the failure originated there (useful when code is TailscaleErrorCode.unknown).
- Inheritance
-
- Object
- TailscaleException
- TailscaleOperationException
- Implementers
- TailscaleDiagException
- TailscaleExitNodeException
- TailscaleFunnelException
- TailscaleHttpException
- TailscaleLogoutException
- TailscalePrefsException
- TailscaleProfilesException
- TailscaleServeException
- TailscaleStatusException
- TailscaleTaildropException
- TailscaleTcpException
- TailscaleTlsException
- TailscaleUdpException
- TailscaleUpException
Constructors
- TailscaleOperationException(String operation, String message, {TailscaleErrorCode code = TailscaleErrorCode.unknown, int? statusCode, Object? cause})
-
const
Properties
- cause → Object?
-
Optional underlying cause from JSON decoding, FFI, or runtime code.
finalinherited
- code → TailscaleErrorCode
-
Structured failure category.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message.
finalinherited
- operation → String
-
Public API operation that failed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code when the failure came from the local API, else null.
final
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