Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMap = map[string]cgerrors.ErrorCode{ "02": cgerrors.ErrorCode_NotFound, "P0002": cgerrors.ErrorCode_NotFound, "08": cgerrors.ErrorCode_Unavailable, "22000": cgerrors.ErrorCode_InvalidArgument, "23502": cgerrors.ErrorCode_InvalidArgument, "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.