invalid

fun invalid(reason: String, cause: Throwable? = null): SignerException.Invalid

Creates an invalid signer error.

Return

Invalid exception instance

Parameters

reason

Description of why the signer is invalid

cause

Optional underlying cause