View definition

func NewErrorClass

Defined in github.com/goadesign/goa/error.go

Description

NewErrorClass creates a new error class. It is the responsibility of the client to guarantee uniqueness of code.