snowflake-sdk
Version:
Node.js driver for Snowflake
149 lines (148 loc) • 12.4 kB
TypeScript
export const _400001: "An internal error has occurred. Please contact Snowflake support.";
export const _400002: "You are using an unsupported version of Node.js. Please use %s or above.";
export const _401001: "Network error. Could not reach Snowflake.";
export const _401002: "Request to Snowflake failed.";
export const _401003: "Snowflake responded with non-JSON content.";
export const _401004: "Request to Snowflake failed. Invalid token";
export const _402001: "Network error. Could not reach S3/Blob.";
export const _402002: "Request to S3/Blob failed.";
export const _403001: "Invalid logLevel. The specified value must be one of these five levels: error, warn, debug, info and trace.";
export const _403002: "Invalid disableOCSPChecks option. The specified value must be a boolean.";
export const _403003: "Invalid OCSP mode. The specified value must be FAIL_CLOSED, FAIL_OPEN, or INSECURE_MODE.";
export const _403004: "Invalid custom JSON parser. The specified value must be a function.";
export const _403005: "Invalid custom XML parser. The specified value must be a function.";
export const _403006: "Invalid keep alive value. The specified value must be a boolean.";
export const _403007: "Invalid custom credential manager value. The specified value must be an object, and it should have three methods: write, read, remove";
export const _403008: "Invalid useEnvProxy value. The specified value must be a boolean.";
export const _404001: "Connection options must be specified.";
export const _404002: "Invalid connection options. The specified value must be an object.";
export const _404003: "A user name must be specified.";
export const _404004: "Invalid user name. The specified value must be a string.";
export const _404005: "A password must be specified.";
export const _404006: "Invalid password. The specified value must be a string.";
export const _404007: "An account must be specified.";
export const _404008: "Invalid account. The specified value must be a string.";
export const _404009: "An accessUrl must be specified.";
export const _404010: "Invalid accessUrl. The specified value must be a string.";
export const _404011: "Invalid warehouse. The specified value must be a string.";
export const _404012: "Invalid database. The specified value must be a string.";
export const _404013: "Invalid schema. The specified value must be a string.";
export const _404014: "Invalid role. The specified value must be a string.";
export const _404015: "A proxyHost must be specified";
export const _404016: "Invalid proxyHost. The specified value must be a string.";
export const _404017: "A proxyPort must be specified.";
export const _404018: "Invalid proxyPort. The specified value must be a number.";
export const _404019: "Invalid streamResult flag. The specified value must be a boolean.";
export const _404020: "Invalid fetchAsString option. The specified value must be an Array.";
export const _404021: "Invalid fetchAsString type: %s. The supported types are: String, Boolean, Number, Date, Buffer, and JSON.";
export const _404022: "Invalid region. The specified value must be a string.";
export const _404023: "Invalid clientSessionKeepAlive. The specified value must be a boolean.";
export const _404024: "Invalid clientSessionKeepAliveHeartbeatFrequency. The specified value must be a number.";
export const _404025: "Invalid jsTreatIntegerAsBigInt. The specified value must be a boolean";
export const _404026: "Invalid private key. The specified value must be a string in pem format of type pkcs8";
export const _404027: "Invalid private key file location. The specified value must be a string";
export const _404028: "Invalid private key passphrase. The specified value must be a string";
export const _404029: "Invalid oauth token. The specified value must be a string";
export const _404030: "Invalid validate default parameters value. The specified value must be a boolean";
export const _404031: "Invalid application value. The specified value must be a string that starts with a letter and a length between 1-50";
export const _404032: "A proxyUser must be specified";
export const _404033: "Invalid proxyUser. The specified value must be a string.";
export const _404034: "A proxyPassword must be specified.";
export const _404035: "Invalid proxyPassword. The specified value must be a string.";
export const _404036: "Invalid noProxy. The specified value must be a string.";
export const _404037: "Invalid arrayBindingThreshold. The specified value must be a number.";
export const _404038: "Invalid gcsUseDownscopedCredential. The specified value must be a boolean.";
export const _404039: "Invalid forceStageBindError. The specified value must be a number.";
export const _404040: "Invalid browser timeout value. The specified value must be a positive number.";
export const _404041: "Invalid disableQueryContextCache. The specified value must be a boolean.";
export const _404042: "Invalid includeRetryReason. The specified value must be a boolean.";
export const _404043: "Invalid clientConfigFile value. The specified value must be a string.";
export const _404044: "Invalid retryTimeout value. The specified value must be a number.";
export const _404045: "Invalid account. The specified value must be a valid subdomain string.";
export const _404046: "Invalid region. The specified value must be a valid subdomain string.";
export const _404047: "Invalid disableConsoleLogin. The specified value must be a boolean";
export const _404048: "Invalid disableGCPTokenUpload. The specified value must be a boolean" | "Invalid forceGCPUseDownscopedCredential. The specified value must be a boolean";
export const _404049: "Invalid clientStoreTemporaryCredential. The specified value must be a boolean.";
export const _404050: "Invalid representNullAsStringNull. The specified value must be a boolean";
export const _404051: "Invalid disableSamlURLCheck. The specified value must be a boolean";
export const _404052: "Invalid clientRequestMFAToken. The specified value must be a boolean.";
export const _404053: "A host must be specified.";
export const _404054: "Invalid host. The specified value must be a string.";
export const _404055: "Invalid passcodeInPassword. The specified value must be a boolean";
export const _404056: "Invalid passcode. The specified value must be a string";
export const _404057: "A password or token must be specified.";
export const _404058: "Invalid oauth authorization URL. The specified value must be a valid URL starting with the https or http protocol.";
export const _404059: "Invalid oauth client id. The specified value must not be an empty string";
export const _404060: "Invalid oauth client secret. The specified value must not be an empty string";
export const _404061: "Invalid oauth token request URL. The specified value must be a valid URL starting with the https or http protocol.";
export const _404062: "No workload identity credentials were found. Provider: %s";
export const _405001: "Invalid callback. The specified value must be a function.";
export const _405501: "Connection already in progress.";
export const _405502: "Already connected.";
export const _405503: "Connection already terminated. Cannot connect again.";
export const _405504: "connect() does not work with external browser or okta authenticators, call connectAsync() instead";
export const _405505: "Configuration from client config file failed";
export const _405506: "Wrong authorization type";
export const _405507: "Authenticator not allowed";
export const _406001: "Invalid callback. The specified value must be a function.";
export const _406501: "Not connected, so nothing to destroy.";
export const _406502: "Already disconnected.";
export const _407001: "Unable to perform operation because a connection was never established.";
export const _407002: "Unable to perform operation using terminated connection.";
export const _408001: "A serializedConnection must be specified.";
export const _408002: "Invalid serializedConnection. The specified value must be a string.";
export const _408003: "Invalid serializedConnection. The value must be a string obtained by calling another connection's serialize() method.";
export const _409001: "Execute options must be specified.";
export const _409002: "Invalid execute options. The specified value must be an object.";
export const _409003: "A sqlText value must be specified.";
export const _409004: "Invalid sqlText. The specified value must be a string.";
export const _409005: "Invalid internal flag. The specified value must be a boolean.";
export const _409006: "Invalid parameters. The specified value must be an object.";
export const _409007: "Invalid binds. The specified value must be an array.";
export const _409008: "Invalid bind variable: %s. Only stringifiable values are supported.";
export const _409009: "Invalid complete callback. The specified value must be a function.";
export const _409010: "Invalid streamResult flag. The specified value must be a boolean.";
export const _409011: "Invalid fetchAsString value. The specified value must be an Array.";
export const _409012: "Invalid fetchAsString type: %s. The supported types are: String, Boolean, Number, Date, Buffer, and JSON.";
export const _409013: "Invalid requestId. The specified value must be a string.";
export const _409014: "Invalid asyncExec. The specified value must be a boolean.";
export const _409015: "Invalid describeOnly. The specified value must be a boolean.";
export const _410001: "Fetch-result options must be specified.";
export const _410002: "Invalid options. The specified value must be an object.";
export const _410003: "A query id/statement id must be specified.";
export const _410004: "Invalid query id/statement id. The specified value must be a string.";
export const _410005: "Invalid complete callback. The specified value must be a function.";
export const _410006: "Invalid streamResult flag. The specified value must be a boolean.";
export const _410007: "Invalid fetchAsString value. The specified value must be an Array.";
export const _410008: "Invalid fetchAsString type: %s. The supported types are: String, Boolean, Number, Date, Buffer, and JSON.";
export const _410009: "Invalid cwd (current working directory) type: %s. The specified value must be a string.";
export const _411001: "Invalid options. The specified value must be an object.";
export const _411002: "Invalid start index. The specified value must be a number.";
export const _411003: "Invalid end index. The specified value must be a number.";
export const _411004: "Invalid fetchAsString value. The specified value must be an Array.";
export const _411005: "Invalid fetchAsString type: %s. The supported types are: String, Boolean, Number, Date, Buffer, and JSON.";
export const _411006: "Invalid row mode value. The specified value should be array or object or object_with_renamed_duplicated_columns";
export const _412001: "Certificate is REVOKED.";
export const _412002: "Certificate status is UNKNOWN.";
export const _412003: "Not recognize signature algorithm.";
export const _412004: "Invalid signature.";
export const _412005: "No OCSP response data is attached.";
export const _412006: "Invalid validity.";
export const _412007: "Could not verify the certificate revocation status.";
export const _412008: "Not two elements are in the cache.";
export const _412009: "Cache entry expired.";
export const _412010: "Failed to parse OCSP response.";
export const _412011: "Invalid Signing Certificate validity.";
export const _412012: "Timeout OCSP responder.";
export const _412013: "Timeout OCSP Cache server.";
export const _412014: "Failed to obtain OCSP response: %s";
export const _450001: "Fetch-row options must be specified.";
export const _450002: "Invalid options. The specified value must be an object.";
export const _450003: "An each() callback must be specified.";
export const _450004: "Invalid each() callback. The specified value must be a function.";
export const _450005: "An end() callback must be specified.";
export const _450006: "Invalid end() callback. The specified value must be a function.";
export const _450007: "Operation failed because the statement is still in progress.";
export const _460001: "Invalid queryId: %s";
export const _460002: "Cannot retrieve data. No information returned from server for query %s";
export const _460003: "Status of query %s is %s, results are unavailable";