Lines Matching refs:error
9 //! use openssl::error::ErrorStack;
23 use std::error;
42 /// Returns the contents of the OpenSSL error stack.
51 /// Pushes the errors back onto the OpenSSL error stack.
53 for error in self.errors() {
54 error.put();
69 return fmt.write_str("OpenSSL error");
84 impl error::Error for ErrorStack {}
98 /// An error reported from OpenSSL.
112 /// Returns the first error on the OpenSSL error stack.
126 // in the error stack, so we'll need to copy it off if it's dynamic
163 /// Pushes the error back onto the OpenSSL error stack.
222 /// Returns the raw OpenSSL error code for this error.
227 /// Returns the name of the library reporting the error, if available.
239 /// Returns the raw OpenSSL error constant for the library reporting the
240 /// error.
248 /// Returns the name of the function reporting the error.
253 /// Returns the reason for the error.
265 /// Returns the raw OpenSSL error constant for the reason for the error.
273 /// Returns the name of the source file which encountered the error.
278 /// Returns the line in the source file which encountered the error.
283 /// Returns additional data describing the error.
317 write!(fmt, "error:{:08X}", self.code())?;
340 impl error::Error for Error {}