Why a value is not a well-formed party id. Codes rather than sentences: L2 ships no user-facing copy, so the consumer maps these to their own wording.
const MESSAGES: Record<PartyIdError, string> = { 'missing-separator': 'Use hint::fingerprint', 'invalid-hint': 'The hint cannot be blank or contain spaces', 'invalid-fingerprint': 'The fingerprint is 68 hex characters',} Copy
const MESSAGES: Record<PartyIdError, string> = { 'missing-separator': 'Use hint::fingerprint', 'invalid-hint': 'The hint cannot be blank or contain spaces', 'invalid-fingerprint': 'The fingerprint is 68 hex characters',}
Why a value is not a well-formed party id. Codes rather than sentences: L2 ships no user-facing copy, so the consumer maps these to their own wording.