UNPKG

@junobuild/errors

Version:

A collection of predefined error constants and utilities for Juno applications.

8 lines (7 loc) 17.5 kB
{ "version": 3, "sources": ["../../src/constants/cdn.constants.ts", "../../src/constants/collections.constants.ts", "../../src/constants/satellite.constants.ts", "../../src/constants/shared.constants.ts", "../../src/utils.ts"], "sourcesContent": ["export const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT = 'juno.cdn.proposals.error.cannot_submit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_submit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT = 'juno.cdn.proposals.error.cannot_reject';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_reject_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT = 'juno.cdn.proposals.error.cannot_commit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_commit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH = 'juno.cdn.proposals.error.invalid_hash';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE = 'juno.cdn.proposals.error.unknown_type';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX =\n 'juno.cdn.proposals.error.no_content_chunks_at_index';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS = 'juno.cdn.proposals.error.empty_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS =\n 'juno.cdn.proposals.error.cannot_delete_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_delete_assets_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT = 'juno.cdn.proposals.error.next_id_convert';\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW =\n 'juno.cdn.proposals.error.next_id_overflow';\n\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_get_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id';\n\nexport const JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND = 'juno.cdn.storage.error.no_proposal_found';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH =\n 'juno.cdn.storage.error.invalid_releases_path';\n\nexport const JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.missing_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.invalid_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION =\n 'juno.cdn.storage.error.invalid_collection';\n", "export const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION =\n 'juno.collections.error.modify_reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_NAME = 'juno.collections.error.reserved_name';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION =\n 'juno.collections.error.reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED =\n 'juno.collections.error.rate_config_enabled';\nexport const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED =\n 'juno.collections.error.prefix_deletion';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY = 'juno.collections.error.not_empty';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND = 'juno.collections.error.not_found';\nexport const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED = 'juno.collections.error.prefix_reserved';\n", "export const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = 'juno.error.no_timestamp_provided';\nexport const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = 'juno.error.timestamp_outdated_or_future';\nexport const JUNO_ERROR_NO_VERSION_PROVIDED = 'juno.error.no_version_provided';\nexport const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = 'juno.error.version_outdated_or_future';\n\nexport const JUNO_DATASTORE_ERROR_CANNOT_WRITE = 'juno.datastore.error.cannot_write';\nexport const JUNO_DATASTORE_ERROR_CANNOT_READ = 'juno.datastore.error.cannot_read';\n\nexport const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = 'juno.storage.error.upload_not_allowed';\nexport const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = 'juno.storage.error.set_not_allowed';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION =\n 'juno.storage.error.cannot_commit_invalid_collection';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = 'juno.storage.error.cannot_commit_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = 'juno.storage.error.asset_not_found';\nexport const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = 'juno.storage.error.cannot_read_asset';\nexport const JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX =\n 'juno.storage.error.upload_path_collection_prefix';\nexport const JUNO_STORAGE_ERROR_RESERVED_ASSET = 'juno.storage.error.reserved_asset';\nexport const JUNO_STORAGE_ERROR_BATCH_NOT_FOUND = 'juno.storage.error.batch_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND = 'juno.storage.error.chunk_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH =\n 'juno.storage.error.chunk_not_included_in_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE =\n 'juno.storage.error.asset_max_allowed_size';\n\nexport const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = 'juno.auth.error.not_admin_controller';\nexport const JUNO_AUTH_ERROR_INVALID_ORIGIN = 'juno.auth.error.invalid_origin';\nexport const JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER = 'juno.auth.error.not_write_controller';\nexport const JUNO_AUTH_ERROR_NOT_CONTROLLER = 'juno.auth.error.not_controller';\nexport const JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED = 'juno.auth.error.caller.not_allowed';\nexport const JUNO_AUTH_ERROR_NOT_CONFIGURED = 'juno.auth.error.not_configured';\nexport const JUNO_AUTH_ERROR_AUTOMATION_NOT_CONFIGURED =\n 'juno.auth.error.automation_not_configured';\nexport const JUNO_AUTH_ERROR_OPENID_DISABLED = 'juno.auth.error.openid_disabled';\n\nexport const JUNO_AUTOMATION_TOKEN_ERROR_MISSING_JTI = 'juno.automation.token.error.missing_jti';\nexport const JUNO_AUTOMATION_TOKEN_ERROR_TOKEN_REUSED = 'juno.automation.token.error.token_reused';\nexport const JUNO_AUTOMATION_WORKFLOW_ERROR_MISSING_REPOSITORY =\n 'juno.automation.workflow.error.missing_repository';\nexport const JUNO_AUTOMATION_WORKFLOW_ERROR_MISSING_RUN_ID =\n 'juno.automation.workflow.error.missing_run_id';\nexport const JUNO_DATASTORE_ERROR_AUTOMATION_CALLER = 'juno.datastore.error.automation.caller';\n\nexport const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = 'juno.datastore.error.user.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = 'juno.datastore.error.user.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = 'juno.datastore.error.user.caller_key';\nexport const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL =\n 'juno.datastore.error.user.key_no_principal';\nexport const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = 'juno.datastore.error.user.not_allowed';\nexport const JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH =\n 'juno.datastore.error.user.webauthn.aaguid_invalid_length';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_webauthn_invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.register.provider_invalid_data';\n\nexport const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH =\n 'juno.auth.error.profile.data.email_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.given_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.family_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.preferred_username_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH =\n 'juno.auth.error.profile.data.locale_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL =\n 'juno.auth.error.profile.data.picture_invalid_url';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME =\n 'juno.auth.error.profile.data.picture_invalid_scheme';\n\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED =\n 'juno.datastore.error.user.usage.change_limit_reached';\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA =\n 'juno.datastore.error.user.usage.invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE =\n 'juno.datastore.error.user.webauthn.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY =\n 'juno.datastore.error.user.webauthn.caller_key';\n", "export const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = 'juno.error.controllers.max_number';\nexport const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED =\n 'juno.error.controllers.anonymous_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED =\n 'juno.error.controllers.revoked_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY = 'juno.error.controllers.admin_no_expire';\nexport const JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST = 'juno.error.controllers.expiry_in_past';\n\nexport const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = 'juno.error.memory.stable_exceeded';\nexport const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = 'juno.error.memory.heap_exceeded';\n\nexport const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = 'juno.error.cycles.deposit_balance_low';\nexport const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = 'juno.error.cycles.deposit_failed';\n\nexport const JUNO_ERROR_CANISTER_CREATE_FAILED = 'juno.error.canister.create_failed';\nexport const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = 'juno.error.canister.install_code_failed';\n\nexport const JUNO_ERROR_SEGMENT_STOP_FAILED = 'juno.error.segment.stop_failed';\nexport const JUNO_ERROR_SEGMENT_DELETE_FAILED = 'juno.error.segment.delete_failed';\n\nexport const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = 'juno.error.cmc.call_ledger_failed';\nexport const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = 'juno.error.cmc.ledger_transfer_failed';\nexport const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED =\n 'juno.error.cmc.call_create_canister_failed';\nexport const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = 'juno.error.cmc.create_canister_failed';\nexport const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = 'juno.error.cmc.install_code_failed';\n\nexport const JUNO_ERROR_INVALID_REGEX = 'juno.error.invalid_regex';\n", "export const isSatelliteError = ({error, type}: {error: unknown; type: string}): boolean => {\n if (typeof error === 'string') {\n return error.includes(type);\n }\n\n if (error instanceof Error) {\n return error.message.includes(type);\n }\n\n return false;\n};\n"], "mappings": ";;AAAO,IAAMA,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAwC,wCAExCC,EAAwC,wCAExCC,EACX,sDAEWC,EAAwC,wCACxCC,EACX,gDACWC,EACX,+DAEWC,EAA2C,2CAC3CC,EACX,4CAEWC,EACX,kEACWC,EACX,+DACWC,EACX,2EAEWC,EAA2C,2CAE3CC,EACX,+CAEWC,EACX,sDAEWC,EACX,sDAEWC,EACX,4CChDK,IAAMC,EACX,oDACWC,EAAuC,uCACvCC,EACX,6CACWC,EACX,6CACWC,EACX,yCACWC,EAA8C,mCAC9CC,EAA8C,mCAC9CC,EAAyC,yCCX/C,IAAMC,EAAmC,mCACnCC,EAA0C,0CAC1CC,EAAiC,iCACjCC,EAAwC,wCAExCC,EAAoC,oCACpCC,EAAmC,mCAEnCC,EAAwC,wCACxCC,EAAqC,qCACrCC,EACX,sDACWC,EAAyC,yCACzCC,EAAqC,qCACrCC,EAAuC,uCACvCC,EACX,mDACWC,EAAoC,oCACpCC,EAAqC,qCACrCC,EAAqC,qCACrCC,EACX,iDACWC,EACX,4CAEWC,EAAuC,uCACvCC,EAAiC,iCACjCC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAqC,qCACrCC,GAAiC,iCACjCC,GACX,4CACWC,GAAkC,kCAElCC,GAA0C,0CAC1CC,GAA2C,2CAC3CC,GACX,oDACWC,GACX,gDACWC,GAAyC,yCAEzCC,GAA0C,0CAC1CC,GAAyC,yCACzCC,GAAuC,uCACvCC,GACX,6CACWC,GAAwC,wCACxCC,GACX,2DACWC,GACX,2DACWC,GACX,oEAEWC,GACX,2DAEWC,GACX,oDACWC,GACX,mDACWC,GACX,yDACWC,GACX,0DACWC,GACX,iEACWC,GACX,qDACWC,GACX,mDACWC,GACX,sDAEWC,GACX,uDACWC,GACX,+CAEWC,GACX,mDACWC,GACX,kDACWC,GACX,gDCtFK,IAAMC,GAAoC,oCACpCC,GACX,+CACWC,GACX,6CACWC,GAAyC,yCACzCC,GAAwC,wCAExCC,GAAoC,oCACpCC,GAAkC,kCAElCC,GAAwC,wCACxCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAA0C,0CAE1CC,GAAiC,iCACjCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAAwC,wCACxCC,GACX,6CACWC,GAAwC,wCACxCC,GAAqC,qCAErCC,GAA2B,2BC3BjC,IAAMC,GAAmB,CAAC,CAAC,MAAAC,EAAO,KAAAC,CAAI,IACvC,OAAOD,GAAU,SACZA,EAAM,SAASC,CAAI,EAGxBD,aAAiB,MACZA,EAAM,QAAQ,SAASC,CAAI,EAG7B", "names": ["JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH", "JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE", "JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH", "JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION", "JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RESERVED_NAME", "JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED", "JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND", "JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED", "JUNO_ERROR_NO_TIMESTAMP_PROVIDED", "JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE", "JUNO_ERROR_NO_VERSION_PROVIDED", "JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE", "JUNO_DATASTORE_ERROR_CANNOT_WRITE", "JUNO_DATASTORE_ERROR_CANNOT_READ", "JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED", "JUNO_STORAGE_ERROR_SET_NOT_ALLOWED", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH", "JUNO_STORAGE_ERROR_ASSET_NOT_FOUND", "JUNO_STORAGE_ERROR_CANNOT_READ_ASSET", "JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX", "JUNO_STORAGE_ERROR_RESERVED_ASSET", "JUNO_STORAGE_ERROR_BATCH_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH", "JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE", "JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER", "JUNO_AUTH_ERROR_INVALID_ORIGIN", "JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER", "JUNO_AUTH_ERROR_NOT_CONTROLLER", "JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED", "JUNO_AUTH_ERROR_NOT_CONFIGURED", "JUNO_AUTH_ERROR_AUTOMATION_NOT_CONFIGURED", "JUNO_AUTH_ERROR_OPENID_DISABLED", "JUNO_AUTOMATION_TOKEN_ERROR_MISSING_JTI", "JUNO_AUTOMATION_TOKEN_ERROR_TOKEN_REUSED", "JUNO_AUTOMATION_WORKFLOW_ERROR_MISSING_REPOSITORY", "JUNO_AUTOMATION_WORKFLOW_ERROR_MISSING_RUN_ID", "JUNO_DATASTORE_ERROR_AUTOMATION_CALLER", "JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_CALLER_KEY", "JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL", "JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED", "JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH", "JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA", "JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME", "JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED", "JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY", "JUNO_ERROR_CONTROLLERS_MAX_NUMBER", "JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY", "JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST", "JUNO_ERROR_MEMORY_STABLE_EXCEEDED", "JUNO_ERROR_MEMORY_HEAP_EXCEEDED", "JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW", "JUNO_ERROR_CYCLES_DEPOSIT_FAILED", "JUNO_ERROR_CANISTER_CREATE_FAILED", "JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED", "JUNO_ERROR_SEGMENT_STOP_FAILED", "JUNO_ERROR_SEGMENT_DELETE_FAILED", "JUNO_ERROR_CMC_CALL_LEDGER_FAILED", "JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED", "JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_INSTALL_CODE_FAILED", "JUNO_ERROR_INVALID_REGEX", "isSatelliteError", "error", "type"] }