Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppErrorDetail ¶
func ConvertCommandErrorDetail ¶
func ConvertCommandErrorDetail(cmdError commands.CommandErrorDetail) AppErrorDetail
func ConvertQueryErrorDetail ¶
func ConvertQueryErrorDetail(queryError queries.QueryErrorDetail) AppErrorDetail
func (AppErrorDetail) Error ¶
func (e AppErrorDetail) Error() string
type Output ¶
type Output[T any] interface { OnError(err AppErrorDetail) OnSuccess(result T) }
Click to show internal directories.
Click to hide internal directories.