notFound

fun notFound(identifier: String, cause: Throwable? = null): WalletException.NotFound

Creates a wallet not found error.

Return

NotFound exception instance

Parameters

identifier

The identifier of the wallet that was not found

cause

Optional underlying cause