Add a Detail field to Validation Error

This commit is contained in:
Tim Hockin
2014-11-21 06:24:10 +08:00
parent b08e5b24b0
commit ff8c5f9415
12 changed files with 93 additions and 105 deletions

View File

@@ -30,7 +30,7 @@ type StatusError struct {
ErrStatus api.Status
}
var _ error = &statusError{}
var _ error = &StatusError{}
// Error implements the Error interface.
func (e *StatusError) Error() string {