alef-codegen 0.15.30

Shared codegen utilities for the alef polyglot binding generator
Documentation
1
2
3
4
5
6
7
// {{ go_type_name }} is a structured error type.
type {{ go_type_name }} struct {
	Code    string
	Message string
}

func (e *{{ go_type_name }}) Error() string { return e.Message }