Documentation ¶
Index ¶
- func IsAggregateNotFoundError(err error) bool
- func IsAppendToStreamError(err error) bool
- func IsDeleteStreamError(err error) bool
- func IsReadStreamError(err error) bool
- func IsStreamNotFoundError(err error) bool
- func IsTruncateStreamError(err error) bool
- func NewAggregateNotFoundError(err error, id uuid.UUID) error
- func NewAppendToStreamError(err error, streamId string) error
- func NewDeleteStreamError(err error, streamId string) error
- func NewReadStreamError(err error) error
- func NewStreamNotFoundError(err error, streamId string) error
- func NewTruncateStreamError(err error, streamId string) error
- type AggregateNotFoundError
- type AppendToStreamError
- type DeleteStreamError
- type ReadStreamError
- type StreamNotFoundError
- type TruncateStreamError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAppendToStreamError ¶
func IsDeleteStreamError ¶
func IsReadStreamError ¶
func IsStreamNotFoundError ¶
func IsTruncateStreamError ¶
func NewAppendToStreamError ¶
func NewDeleteStreamError ¶
func NewReadStreamError ¶
func NewStreamNotFoundError ¶
func NewTruncateStreamError ¶
Types ¶
type AggregateNotFoundError ¶
type AggregateNotFoundError interface { customErrors.NotFoundError IsAggregateNotFoundError() bool }
type AppendToStreamError ¶
type AppendToStreamError interface { customErrors.BadRequestError IsAppendToStreamError() bool }
type DeleteStreamError ¶
type DeleteStreamError interface { customErrors.InternalServerError IsDeleteStreamError() bool }
type ReadStreamError ¶
type ReadStreamError interface { customErrors.InternalServerError IsReadStreamError() bool }
type StreamNotFoundError ¶
type StreamNotFoundError interface { customErrors.NotFoundError IsStreamNotFoundError() bool }
type TruncateStreamError ¶
type TruncateStreamError interface { customErrors.InternalServerError IsTruncateStreamError() bool }
Click to show internal directories.
Click to hide internal directories.