18 lines
298 B
Go
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()
|
|
}
|