ExceptionLike.reason
ts
reason(): stringGives the human message. Synchronous.
Parameters. None.
Returns. string. The human message. Never parse it. Branch on code().
Throws. None.
Example
example.ts
ts
import type { ExceptionLike } from '@fedimint/react-native'
declare const inner: ExceptionLike
const reason = inner.reason()
console.log(reason)Used in. Errors, step 01, Quickstart, step 02, Installation, step 06