Files
signal-cli-rest-api/src/client/errors.go
Bernhard B 1295fd7452 move signal-cli specific code into own library
* still WIP and APIs might change lateron, but at least it compiles.

see #150
2021-09-05 18:25:12 +02:00

26 lines
372 B
Go

package client
type InvalidNameError struct {
Description string
}
func (e *InvalidNameError) Error() string {
return e.Description
}
type NotFoundError struct {
Description string
}
func (e *NotFoundError) Error() string {
return e.Description
}
type InternalError struct {
Description string
}
func (e *InternalError) Error() string {
return e.Description
}