mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport ApiMethodNotAllowedError
This commit is contained in:
parent
b4011778dd
commit
71000ee6d0
1 changed files with 4 additions and 4 deletions
|
|
@ -63,15 +63,15 @@ var (
|
|||
ErrNotImplemented = errors.New("not implemented")
|
||||
)
|
||||
|
||||
// ApiMethodNotAllowedError wraps an error value indicating that a particular
|
||||
// apiMethodNotAllowedError wraps an error value indicating that a particular
|
||||
// API method is not allowed in the current cluster state.
|
||||
type ApiMethodNotAllowedError struct {
|
||||
type apiMethodNotAllowedError struct {
|
||||
error
|
||||
}
|
||||
|
||||
// NewApiMethodNotAllowedError returns err wrapped in an ApiMethodNotAllowedError.
|
||||
func NewApiMethodNotAllowedError(err error) ApiMethodNotAllowedError {
|
||||
return ApiMethodNotAllowedError{err}
|
||||
func NewApiMethodNotAllowedError(err error) apiMethodNotAllowedError {
|
||||
return apiMethodNotAllowedError{err}
|
||||
}
|
||||
|
||||
// BadRequestError wraps an error value to signify that a request could not be
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue