API/QubeeErrorCode
QubeeErrorCode
src/types/qubee-error-code.type.tstype
Machine-readable identifier carried by every QubeeError.
Lets a consumer branch on the failure without parsing English prose:
if (error instanceof QubeeError && error.code === 'UNSUPPORTED_CAPABILITY') { // fall back to client-side filtering}Definition
Section titled “Definition”type QubeeErrorCode = 'INVALID_FILTER_OPERATOR_VALUE' | 'INVALID_LIMIT' | 'INVALID_PAGE_NUMBER' | 'INVALID_RESOURCE_NAME' | 'KEY_NOT_FOUND' | 'PAGINATION_NOT_SYNCED' | 'UNSELECTABLE_MODEL' | 'UNSUPPORTED_CAPABILITY'