2016-05-19 15:11:18 +00:00
|
|
|
generate_error_module!(
|
|
|
|
generate_error_types!(LinkError, LinkErrorKind,
|
|
|
|
EntryHeaderReadError => "Error while reading an entry header",
|
|
|
|
EntryHeaderWriteError => "Error while writing an entry header",
|
|
|
|
ExistingLinkTypeWrong => "Existing link entry has wrong type",
|
|
|
|
LinkTargetDoesNotExist => "Link target does not exist in the store",
|
|
|
|
InternalConversionError => "Error while converting values internally",
|
|
|
|
InvalidUri => "URI is not valid",
|
|
|
|
StoreReadError => "Store read error",
|
|
|
|
StoreWriteError => "Store write error"
|
|
|
|
);
|
2016-05-15 14:53:31 +00:00
|
|
|
);
|
2016-02-03 14:47:14 +00:00
|
|
|
|
2016-05-19 15:11:18 +00:00
|
|
|
pub use self::error::LinkError;
|
|
|
|
pub use self::error::LinkErrorKind;
|
|
|
|
|