github.com/snowflakedb/gosnowflake@v1.9.0/sqlstate.go (about) 1 // Copyright (c) 2017-2022 Snowflake Computing Inc. All rights reserved. 2 3 package gosnowflake 4 5 const ( 6 // SQLStateNumericValueOutOfRange is a SQL State code indicating Numeric value is out of range. 7 SQLStateNumericValueOutOfRange = "22003" 8 // SQLStateInvalidDataTimeFormat is a SQL State code indicating DataTime format is invalid. 9 SQLStateInvalidDataTimeFormat = "22007" 10 // SQLStateConnectionWasNotEstablished is a SQL State code indicating connection was not established. 11 SQLStateConnectionWasNotEstablished = "08001" 12 // SQLStateConnectionRejected is a SQL State code indicating connection was rejected. 13 SQLStateConnectionRejected = "08004" 14 // SQLStateConnectionFailure is a SQL State code indicating connection failed. 15 SQLStateConnectionFailure = "08006" 16 // SQLStateFeatureNotSupported is a SQL State code indicating the feature is not enabled. 17 SQLStateFeatureNotSupported = "0A000" 18 )