Error
Represents an error result holding exception of type ColibrioException
Functions
Returns the encapsulated value if this ColibrioResult is ColibrioResult.Success or null if it is a ColibrioResult.Error
Performs the given action on the encapsulated ColibrioException exception if this instance is ColibrioResult.Error. Returns the original ColibrioResult unchanged.
Performs the given suspend action on the encapsulated ColibrioException exception if this instance is ColibrioResult.Error. Returns the original ColibrioResult unchanged.
Performs the given action on the encapsulated data if this instance is ColibrioResult.Success. Returns the original ColibrioResult unchanged.
Performs the given suspend action on the encapsulated data if this instance is ColibrioResult.Success. Returns the original ColibrioResult unchanged.