Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorParser ¶ added in v1.0.0
ErrorParser analyses external errors to create matchstick-video variants.
type ErrorParserImpl ¶ added in v1.0.0
type ErrorParserImpl struct{}
ErrorParserImpl implements ErrorParser
func NewErrorParserImpl ¶ added in v1.0.0
func NewErrorParserImpl() *ErrorParserImpl
NewErrorParserImpl is a constructor
func (*ErrorParserImpl) FromDBRowScan ¶ added in v1.0.0
func (e *ErrorParserImpl) FromDBRowScan(err error, _type string) error
FromDBRowScan tries to extract errors from the response to db row scans
type NotFoundError ¶
type NotFoundError struct {
Type string
}
NotFoundError is returned when an entity cannot be retrieved from persistence.
func NewNotFoundError ¶
func NewNotFoundError(_type string) *NotFoundError
NewNotFoundError is a constructor
func (*NotFoundError) Error ¶
func (n *NotFoundError) Error() string
type UniqueConstraintError ¶ added in v1.0.0
type UniqueConstraintError struct {
Cause error
}
UniqueConstraintError is returned when a transaction fails a uniqueness constraint set in the database.
func NewUniqueConstraintError ¶ added in v1.0.0
func NewUniqueConstraintError(cause error) *UniqueConstraintError
NewUniqueConstraintError is a constructor
func (*UniqueConstraintError) Error ¶ added in v1.0.0
func (u *UniqueConstraintError) Error() string
Click to show internal directories.
Click to hide internal directories.