Files
capsule/pkg/cert/errors.go
2021-06-03 19:46:20 +02:00

17 lines
319 B
Go

// Copyright 2020-2021 Clastix Labs
// SPDX-License-Identifier: Apache-2.0
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"
}