{"modulePath":"github.com/gozix/echo","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\nPackage errors provides implementations of custom errors for the echo framework.\n\n## Types\n\n```go\ntype HTTPError struct {\n\tCode        int\n\tCause       error\n\tMessage     string\n\tDescription interface{}\n}\n```\nHTTPError represents an error that occurred while handling a request.\n\n```go\nfunc New(code int, message ...string) *HTTPError\n```\nNew creates a new HTTPError instance.\n\n```go\nfunc Wrap(code int, err error, message ...string) *HTTPError\n```\nWrap creates a new HTTPError instance with wrap origin error.\n\n```go\nfunc (e *HTTPError) Error() string\n```\nError makes it compatible with \\`error\\` interface.\n\n","path":"github.com/gozix/echo/errors","name":"errors","synopsis":"Package errors provides implementations of custom errors for the echo framework.","isRedistributable":true}
