Package pragma #
Types #
| Name | Summary | 
|---|---|
 Base class for application errors. These are filtered out in Service’s requestRpc function and treated as "successful" calls that return the message passed to the exception as the response.  | |
 A discriminated union that encapsulates a successful outcome with a value of type TSuccess or a failure with of type TFailure. Similar to kotlin.Result, but with non-exception failures.  | 
Functions #
| Name | Summary | 
|---|---|
 Returns the result of the given onSuccess function applied to the encapsulated TSuccess if this instance represents success or the original encapsulated value if it is failure.  | |
 Throws an ApplicationErrorException similar to kotlin.error  | |
 Throws an ApplicationErrorException if the value is false. Similar to kotlin.require  | |
 Throws an ApplicationErrorException if the value is null. Otherwise, returns the not null value. Similar to kotlin.requireNotNull  | |
 Returns the encapsulated value if this instance represents failure or the result of onFailure function for the encapsulated TSuccess if it is success.  | |
 Returns the encapsulated value if this instance represents success or the result of if it is failure.  | |
 Returns the encapsulated value if this instance represents success or the result of onFailure function for the encapsulated TFailure if it is failure.  | |
 Returns the result of the given transform function applied to the encapsulated value if this instance represents success or the original encapsulated TFailure value if it is failure.  | |
 Returns the result of the given onFailure function applied to the encapsulated TFailure if this instance represents failure or the original encapsulated value if it is success.  | |
 Returns the result of the given transform function applied to the encapsulated TFailure if this instance represents failure or the original encapsulated value if it is success.  |