Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2022 Changes in this version + type Formatter struct + Default Info + Errors map[error]Info + IsTemporary func(info Info, err error) bool + func (f Formatter) Format(err error) (body Response) + func (f Formatter) Write(ctx context.Context, w http.ResponseWriter, err error) + type Info struct + ChainCode string + HTTPStatus int + Message string + type Response struct + Data map[string]interface{} + Detail string + Status string + Temporary bool