One line for logs and messages: "certificate verification failed: the certificate has expired".
Like detail, the text is in temporary storage, never inside the error.
- error: the error to describe.
line := error_text(Tls_Error.{ kind = .CLOSED });
assert(line.count > 0);error_text :: (error: Tls_Error) -> string
One line for logs and messages: "certificate verification failed: the certificate has expired".
Like detail, the text is in temporary storage, never inside the error.
Parameters
- error: Tls_Error
- the error to describe.
Returns
- string
line := error_text(Tls_Error.{ kind = .CLOSED });
assert(line.count > 0);