Documentation ¶
Index ¶
- type DatabaseException
- func (dbe *DatabaseException) Code() *code.ErrorCode
- func (dbe *DatabaseException) Err() error
- func (dbe *DatabaseException) Error() string
- func (dbe *DatabaseException) GqlError() *gqlerror.Error
- func (dbe *DatabaseException) GqlErrorWithTrace(ctx context.Context) *gqlerror.Error
- func (dbe *DatabaseException) Log(ctx context.Context)
- func (dbe *DatabaseException) Msg() string
- func (dbe *DatabaseException) Path() ast.Path
- func (dbe *DatabaseException) Source() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseException ¶
type DatabaseException struct {
*exception.BaseException
}
func NewDatabaseException ¶
func (*DatabaseException) Code ¶
func (dbe *DatabaseException) Code() *code.ErrorCode
func (*DatabaseException) Err ¶
func (dbe *DatabaseException) Err() error
func (*DatabaseException) Error ¶
func (dbe *DatabaseException) Error() string
func (*DatabaseException) GqlError ¶
func (dbe *DatabaseException) GqlError() *gqlerror.Error
func (*DatabaseException) GqlErrorWithTrace ¶
func (dbe *DatabaseException) GqlErrorWithTrace(ctx context.Context) *gqlerror.Error
func (*DatabaseException) Log ¶
func (dbe *DatabaseException) Log(ctx context.Context)
func (*DatabaseException) Msg ¶
func (dbe *DatabaseException) Msg() string
func (*DatabaseException) Path ¶
func (dbe *DatabaseException) Path() ast.Path
func (*DatabaseException) Source ¶
func (dbe *DatabaseException) Source() string
Click to show internal directories.
Click to hide internal directories.