This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
cairde/messages/messages.go
2023-06-21 11:07:54 +02:00

18 lines
298 B
Go

package messages
type ToAddProfileMsg struct{}
type ToPreviousStateMsg struct{}
type UIErrMsg struct{ Err error }
func (e UIErrMsg) Error() string {
return e.Err.Error()
}
type ProfileValidateErrMsg struct{ Err error }
func (e ProfileValidateErrMsg) Error() string {
return e.Err.Error()
}