1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
error_chain! { foreign_links { Io(::std::io::Error); Utf8(::std::str::Utf8Error); FromUtf8(::std::string::FromUtf8Error); } errors { InvalidData {} InvalidType(expected: Vec<::ConstructorNumber>, received: ::ConstructorNumber) {} BoxedAsBare {} ReceivedSendType {} UnsupportedLayer {} NoAuthKey {} NoSalts {} WrongAuthKey {} InvalidLength {} Unknown {} FactorizationFailure {} AuthenticationFailure {} } }