initial commit
This commit is contained in:
11
internal/domain/error.go
Normal file
11
internal/domain/error.go
Normal file
@ -0,0 +1,11 @@
|
||||
package domain
|
||||
|
||||
const (
|
||||
UnexpectedStatusError SimpleError = "unexpected status"
|
||||
)
|
||||
|
||||
type SimpleError string
|
||||
|
||||
func (err SimpleError) Error() string {
|
||||
return string(err)
|
||||
}
|
||||
Reference in New Issue
Block a user