diff options
Diffstat (limited to 'vendor/github.com')
| -rw-r--r-- | vendor/github.com/johannesboyne/gofakes3/error.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/johannesboyne/gofakes3/error.go b/vendor/github.com/johannesboyne/gofakes3/error.go index 9d8eead4..d0a71f77 100644 --- a/vendor/github.com/johannesboyne/gofakes3/error.go +++ b/vendor/github.com/johannesboyne/gofakes3/error.go @@ -214,6 +214,8 @@ func (e InternalErrorCode) Error() string { return string(ErrInternal) } // know! func (e ErrorCode) Message() string { switch e { + case ErrInvalidBucketName: + return `Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"` case ErrNoSuchBucket: return "The specified bucket does not exist" case ErrRequestTimeTooSkewed: |
