Documentation ¶
Index ¶
- type BaseException
- func (be *BaseException) Code() *code.ErrorCode
- func (be *BaseException) Err() error
- func (be *BaseException) Error() string
- func (be *BaseException) GqlError() *gqlerror.Error
- func (be *BaseException) GqlErrorWithTrace(ctx context.Context) *gqlerror.Error
- func (be *BaseException) Log(ctx context.Context)
- func (be *BaseException) Msg() string
- func (be *BaseException) Path() ast.Path
- func (be *BaseException) Source() string
- type Exception
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseException ¶
type BaseException struct {
// contains filtered or unexported fields
}
func NewBaseException ¶
func (*BaseException) Code ¶
func (be *BaseException) Code() *code.ErrorCode
func (*BaseException) Err ¶
func (be *BaseException) Err() error
func (*BaseException) Error ¶
func (be *BaseException) Error() string
func (*BaseException) GqlError ¶
func (be *BaseException) GqlError() *gqlerror.Error
func (*BaseException) GqlErrorWithTrace ¶
func (be *BaseException) GqlErrorWithTrace(ctx context.Context) *gqlerror.Error
func (*BaseException) Log ¶
func (be *BaseException) Log(ctx context.Context)
func (*BaseException) Msg ¶
func (be *BaseException) Msg() string
func (*BaseException) Path ¶
func (be *BaseException) Path() ast.Path
func (*BaseException) Source ¶
func (be *BaseException) Source() string
Click to show internal directories.
Click to hide internal directories.