Skip to content
Snippets Groups Projects
Commit 6ca56237 authored by Simon Tatham's avatar Simon Tatham
Browse files

Impl Error for all our error types.

I was trying to debug something in File just now and found that I
couldn't casually dbg! a value of type FileDataSource::Error, because
FileDataSource didn't have a trait bound saying its Error had to be
Debug.

Instead of just adding the Debug trait, let's do it properly, and make
all the error types implement Error, which implies Debug. This
involved adding #[derive(Debug)] on LoginError, and also an unused
implementation of Display, but those both seem like useful things to
have around anyway.
parent d6c06b58
No related branches found
Tags upstream/0.120
Loading
Pipeline #680927 passed with stages
in 14 minutes and 20 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment