mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
jsonrpc: WrapError() makes jsonrpc return unnecessary details in the error message.
This commit is contained in:
@@ -18,6 +18,9 @@ package main
|
||||
|
||||
import "errors"
|
||||
|
||||
// errInvalidCredentials
|
||||
var errInvalidCredentials = errors.New("Invalid credentials provided")
|
||||
|
||||
// errUnAuthorizedRequest - un authorized request.
|
||||
var errUnAuthorizedRequest = errors.New("Unauthorized request")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user