USER_ERROR_U0
wvlet.airframe.http.RPCStatus.USER_ERROR_U0
case object USER_ERROR_U0 extends RPCStatus
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass RPCStatustrait PackSupportclass Objecttrait Matchableclass AnyShow all
- Self type
-
USER_ERROR_U0.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
http status code derived from grpc status code
def newException(message: String, cause: Throwable, appErrorCode: Int, metadata: Map[String, Any]): RPCException
Create a new RPCException with this RPCStatus.
Create a new RPCException with this RPCStatus.
Value parameters
- appErrorCode
-
application-specific error code. default: -1 (None)
- cause
-
the cause of the error (optional)
- message
-
the error message (required)
- metadata
-
application-specific metadata (optional)
Attributes
- Inherited from:
- RPCStatus
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- RPCStatus
In this article