hpqtypes-1.6.0.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Internal.Error.Code

Synopsis

Documentation

data ErrorCode Source #

Constructors

SuccessfulCompletion 
Warning 
DynamicResultSetsReturned 
ImplicitZeroBitPadding 
NullValueEliminatedInSetFunction 
PrivilegeNotGranted 
PrivilegeNotRevoked 
StringDataRightTruncation_01 
DeprecatedFeature 
NoData 
NoAdditionalDynamicResultSetsReturned 
SqlStatementNotYetComplete 
ConnectionException 
ConnectionDoesNotExist 
ConnectionFailure 
SqlclientUnableToEstablishSqlconnection 
SqlserverRejectedEstablishmentOfSqlconnection 
TransactionResolutionUnknown 
ProtocolViolation 
TriggeredActionException 
FeatureNotSupported 
InvalidTransactionInitiation 
LocatorException 
InvalidLocatorSpecification 
InvalidGrantor 
InvalidGrantOperation 
InvalidRoleSpecification 
DiagnosticsException 
StackedDiagnosticsAccessedWithoutActiveHandler 
CaseNotFound 
CardinalityViolation 
DataException 
ArraySubscriptError 
CharacterNotInRepertoire 
DatetimeFieldOverflow 
DivisionByZero 
ErrorInAssignment 
EscapeCharacterConflict 
IndicatorOverflow 
IntervalFieldOverflow 
InvalidArgumentForLogarithm 
InvalidArgumentForNtileFunction 
InvalidArgumentForNthValueFunction 
InvalidArgumentForPowerFunction 
InvalidArgumentForWidthBucketFunction 
InvalidCharacterValueForCast 
InvalidDatetimeFormat 
InvalidEscapeCharacter 
InvalidEscapeOctet 
InvalidEscapeSequence 
NonstandardUseOfEscapeCharacter 
InvalidIndicatorParameterValue 
InvalidParameterValue 
InvalidRegularExpression 
InvalidRowCountInLimitClause 
InvalidRowCountInResultOffsetClause 
InvalidTimeZoneDisplacementValue 
InvalidUseOfEscapeCharacter 
MostSpecificTypeMismatch 
NullValueNotAllowed_22 
NullValueNoIndicatorParameter 
NumericValueOutOfRange 
StringDataLengthMismatch 
StringDataRightTruncation_22 
SubstringError 
TrimError 
UnterminatedCString 
ZeroLengthCharacterString 
FloatingPointException 
InvalidTextRepresentation 
InvalidBinaryRepresentation 
BadCopyFileFormat 
UntranslatableCharacter 
NotAnXmlDocument 
InvalidXmlDocument 
InvalidXmlContent 
InvalidXmlComment 
InvalidXmlProcessingInstruction 
IntegrityConstraintViolation 
RestrictViolation 
NotNullViolation 
ForeignKeyViolation 
UniqueViolation 
CheckViolation 
ExclusionViolation 
InvalidCursorState 
InvalidTransactionState 
ActiveSqlTransaction 
BranchTransactionAlreadyActive 
HeldCursorRequiresSameIsolationLevel 
InappropriateAccessModeForBranchTransaction 
InappropriateIsolationLevelForBranchTransaction 
NoActiveSqlTransactionForBranchTransaction 
ReadOnlySqlTransaction 
SchemaAndDataStatementMixingNotSupported 
NoActiveSqlTransaction 
InFailedSqlTransaction 
InvalidSqlStatementName 
TriggeredDataChangeViolation 
InvalidAuthorizationSpecification 
InvalidPassword 
DependentPrivilegeDescriptorsStillExist 
DependentObjectsStillExist 
InvalidTransactionTermination 
SqlRoutineException 
FunctionExecutedNoReturnStatement 
ModifyingSqlDataNotPermitted_2F 
ProhibitedSqlStatementAttempted_2F 
ReadingSqlDataNotPermitted_2F 
InvalidCursorName 
ExternalRoutineException 
ContainingSqlNotPermitted 
ModifyingSqlDataNotPermitted_38 
ProhibitedSqlStatementAttempted_38 
ReadingSqlDataNotPermitted_38 
ExternalRoutineInvocationException 
InvalidSqlstateReturned 
NullValueNotAllowed_39 
TriggerProtocolViolated 
SrfProtocolViolated 
SavepointException 
InvalidSavepointSpecification 
InvalidCatalogName 
InvalidSchemaName 
TransactionRollback 
TransactionIntegrityConstraintViolation 
SerializationFailure 
StatementCompletionUnknown 
DeadlockDetected 
SyntaxErrorOrAccessRuleViolation 
SyntaxError 
InsufficientPrivilege 
CannotCoerce 
GroupingError 
WindowingError 
InvalidRecursion 
InvalidForeignKey 
InvalidName 
NameTooLong 
ReservedName 
DatatypeMismatch 
IndeterminateDatatype 
CollationMismatch 
IndeterminateCollation 
WrongObjectType 
UndefinedColumn 
UndefinedFunction 
UndefinedTable 
UndefinedParameter 
UndefinedObject 
DuplicateColumn 
DuplicateCursor 
DuplicateDatabase 
DuplicateFunction 
DuplicatePreparedStatement 
DuplicateSchema 
DuplicateTable 
DuplicateAlias 
DuplicateObject 
AmbiguousColumn 
AmbiguousFunction 
AmbiguousParameter 
AmbiguousAlias 
InvalidColumnReference 
InvalidColumnDefinition 
InvalidCursorDefinition 
InvalidDatabaseDefinition 
InvalidFunctionDefinition 
InvalidPreparedStatementDefinition 
InvalidSchemaDefinition 
InvalidTableDefinition 
InvalidObjectDefinition 
WithCheckOptionViolation 
InsufficientResources 
DiskFull 
OutOfMemory 
TooManyConnections 
ConfigurationLimitExceeded 
ProgramLimitExceeded 
StatementTooComplex 
TooManyColumns 
TooManyArguments 
ObjectNotInPrerequisiteState 
ObjectInUse 
CantChangeRuntimeParam 
LockNotAvailable 
OperatorIntervention 
QueryCanceled 
AdminShutdown 
CrashShutdown 
CannotConnectNow 
DatabaseDropped 
SystemError 
IoError 
UndefinedFile 
DuplicateFile 
ConfigFileError 
LockFileExists 
FdwError 
FdwColumnNameNotFound 
FdwDynamicParameterValueNeeded 
FdwFunctionSequenceError 
FdwInconsistentDescriptorInformation 
FdwInvalidAttributeValue 
FdwInvalidColumnName 
FdwInvalidColumnNumber 
FdwInvalidDataType 
FdwInvalidDataTypeDescriptors 
FdwInvalidDescriptorFieldIdentifier 
FdwInvalidHandle 
FdwInvalidOptionIndex 
FdwInvalidOptionName 
FdwInvalidStringLengthOrBufferLength 
FdwInvalidStringFormat 
FdwInvalidUseOfNullPointer 
FdwTooManyHandles 
FdwOutOfMemory 
FdwNoSchemas 
FdwOptionNameNotFound 
FdwReplyHandle 
FdwSchemaNotFound 
FdwTableNotFound 
FdwUnableToCreateExecution 
FdwUnableToCreateReply 
FdwUnableToEstablishConnection 
PlpgsqlError 
RaiseException 
NoDataFound 
TooManyRows 
InternalError 
DataCorrupted 
IndexCorrupted 
UnknownErrorCode String 

stringToErrorCode :: String -> ErrorCode Source #

Convert String to corresponding ErrorCode.