Colibrio Result
Represents result of an operation. Can be either ColibrioResult.Success holding data of type T, or ColibrioResult.Error holding exception of type ColibrioException.
Types
Functions
Link copied to clipboard
Performs the given action on the encapsulated ColibrioException exception if this instance is ColibrioResult.Error. Returns the original ColibrioResult
unchanged.
Link copied to clipboard
Performs the given action on the encapsulated data if this instance is ColibrioResult.Success. Returns the original ColibrioResult
unchanged.