SyImControlPlaneException class

控制面请求失败。code 为响应体业务码(见 SyImErrorCode),响应体没有 code 时为 HTTP 状态码。 仍是 Exception,已有的 on Exception 可以接住。

Implemented types

Constructors

SyImControlPlaneException(int code, int httpStatus, String message)

Properties

code → int
final
hashCode → int
The hash code for this object.
no setterinherited
httpStatus → int
final
isContentRejected → bool
no setter
isCredentialBlocked → bool
no setter
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