fail

fun fail(e: Throwable, message: String?)

Method to define failure state

Parameters

e

error that occurred

message

message to help debug the error

Sources

Link copied to clipboard