Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMap = map[string]cgerrors.ErrorCode{ "02": cgerrors.CodeNotFound, "P0002": cgerrors.CodeNotFound, "08": cgerrors.CodeUnavailable, "22000": cgerrors.CodeInvalidArgument, "23502": cgerrors.CodeInvalidArgument, "23000": cgerrors.ErrorCode_AlreadyExists, "23503": cgerrors.ErrorCode_NotFound, "23505": cgerrors.ErrorCode_AlreadyExists, "42P06": cgerrors.ErrorCode_AlreadyExists, "42P07": cgerrors.ErrorCode_AlreadyExists, "42712": cgerrors.ErrorCode_AlreadyExists, }
ErrorMap is the postgres error mapping.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.