BrowserException

The only exception this library throws.

message is written for the caller's log, not for ours: it never carries a stack trace, an internal class name or a socket path. The underlying failure is kept as cause for debugging and is not part of the message.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

Which of the closed set of failures this is. Branch on this, not on message.

Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Includes code alongside the message, for logs.