Ada
f6b48d0ae7
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
18 lines
314 B
Go
18 lines
314 B
Go
package plak
|
|
|
|
type deletePlakError struct {
|
|
name string
|
|
err error
|
|
}
|
|
|
|
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
|
|
}
|