2024-01-25 17:58:55 +01:00
|
|
|
package plak
|
|
|
|
|
2024-02-25 00:29:39 +01:00
|
|
|
type deletePlakError struct {
|
|
|
|
name string
|
|
|
|
err error
|
2024-01-25 17:58:55 +01:00
|
|
|
}
|
|
|
|
|
2024-02-25 00:29:39 +01:00
|
|
|
func (m *deletePlakError) Error() string {
|
|
|
|
return "Cannot delete: " + m.name + " : " + m.err.Error()
|
|
|
|
}
|
|
|
|
|
|
|
|
type createError struct {
|
|
|
|
message string
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *createError) Error() string {
|
|
|
|
return "create: cannot create plak: " + m.message
|
2024-01-25 17:58:55 +01:00
|
|
|
}
|