ServerException
class ServerException(val status: String, val details: String, cause: Throwable? = null, val reason: FailureReason = FailureReason.UNSPECIFIED) : TapException(source)
The host server rejected or failed a call (unknown connection or device, bad argument, driver start failure, ...). status is the gRPC status code name; reason is the server's structured failure reason, FailureReason.UNSPECIFIED when the failure did not come from the daemon.
Constructors
Link copied to clipboard
constructor(status: String, details: String, cause: Throwable? = null, reason: FailureReason = FailureReason.UNSPECIFIED)