2fas-server/internal/api/support/domain/debug_logs_errors.go

20 lines
472 B
Go
Raw Normal View History

2022-12-31 10:22:38 +01:00
package domain
import "github.com/google/uuid"
type DebugLogsAuditClaimIsHasBeenExpiredError struct {
Id uuid.UUID
}
func (e DebugLogsAuditClaimIsHasBeenExpiredError) Error() string {
return "Debug logs audit claim has been expired " + e.Id.String()
}
type DebugLogsAuditClaimIsAlreadyCompletedError struct {
Id uuid.UUID
}
func (e DebugLogsAuditClaimIsAlreadyCompletedError) Error() string {
return "Debug logs audit claim has been completed " + e.Id.String()
}