getAllErrorCodes
●errors · /index·function
Returns all error code string values across every enum in in a single flat array.
Signature
function getAllErrorCodes(): any[];Returns
An array of every registered *ErrorKind string value.
Example
const codes = getAllErrorCodes();
// ['GENERIC_UNKNOWN_ERROR', 'GENERIC_TODO', ..., 'API_UNKNOWN_ERROR', ...]Related
ApiErrorKind GenericErrorKind ApiError CartNotFoundError CartProviderError CartUserError ConvexOperatorTokenMintError DomainVerificationError