Coverage report: /home/ellis/comp/core/lib/cry/condition.lisp
Kind | Covered | All | % |
expression | 0 | 19 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; cry/condition.lisp --- Crypto Conditions
8
(define-condition crypto-condition () ())
9
(define-condition crypto-error (crypto-condition std-error) ())
11
(define-condition crypto-token-expired (crypto-error)
12
((token :initarg :token :accessor token)
13
(expiry :initarg :expiry :accessor expiry))
16
(format s "Token expired: ~A at ~A"
19
(:documentation "Condition raised when use of an expired token is attempted."))
21
(define-condition crypto-token-invalid (crypto-error)
22
((token :initarg :token :accessor token)
23
(reset-token :initarg :reset-token :accessor reset-token))
26
(format s "~A reset token is invalid: ~A"
29
(:documentation "Condition raised when use of an invalid token is attempted."))