Files
capsule/pkg/cert/errors.go
Dario Tranchitella 812b16fcff Initial commit
2020-07-24 10:57:51 +02:00

14 lines
245 B
Go

package cert
type CaNotYetValidError struct {}
func (CaNotYetValidError) Error() string {
return "The current CA is not yet valid"
}
type CaExpiredError struct {}
func (CaExpiredError) Error() string {
return "The current CA is expired"
}