Skip to content

Commit

Permalink
sct: doc InvalidSCTError.diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
tnytown committed Mar 9, 2023
1 parent d1b86c9 commit 1c3813c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sigstore/_internal/sct.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class InvalidSCTError(Error):
"""

def diagnostics(self) -> str:
"""Returns diagnostics for the error."""
# We specialize this error case, since it usually indicates one of
# two conditions: either the current sigstore client is out-of-date,
# or that the SCT is well-formed but invalid for the current configuration
Expand Down

0 comments on commit 1c3813c

Please sign in to comment.