MCPcopy Create free account
hub / github.com/PostHog/duckgres / SQLState

Method SQLState

transpiler/transform/errors.go:12–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11func (e *CodedError) Error() string { return e.Message }
12func (e *CodedError) SQLState() string { return e.Code }
13
14// NewFeatureNotSupported returns a 0A000 (feature_not_supported) error. Use it
15// for PostgreSQL features the active backend cannot honor (e.g. ON CONFLICT ON

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected