Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag string
Tag represents an EdgeDB error tag.
func ParseTags ¶
func ParseTags(data [][]interface{}) []Tag
ParseTags returns a list of unique tags.
func (Tag) Identifyer ¶
Identifyer returns the MixedCaps version of the tag.
type Type ¶
Type represents and EdgeDB error type.
func ParseTypes ¶
func ParseTypes(data [][]interface{}) []*Type
ParseTypes extracts the error types from edb gen-errors-json --client output
func (*Type) PrivateName ¶
PrivateName returns the private go name for this error type.
Click to show internal directories.
Click to hide internal directories.