Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBadRequest ¶
type ErrBadRequest struct {
ErrorMsg string `json:"error_msg"`
}
ErrBadRequest represents the bad request error
func NewErrBadRequest ¶
func NewErrBadRequest(errorMsg string) *ErrBadRequest
NewErrBadRequest is the constructor of ErrBadRequest
func (*ErrBadRequest) Error ¶
func (e *ErrBadRequest) Error() string
Error implements error interface
func (*ErrBadRequest) ToLogicalResponse ¶
func (e *ErrBadRequest) ToLogicalResponse() (*logical.Response, error)
ToLogicalResponse converts error to logical response model
Click to show internal directories.
Click to hide internal directories.