Add StoreWriteError error type
This commit is contained in:
parent
23049d02c6
commit
f85faca6b3
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ pub enum LinkErrorKind {
|
|||
InternalConversionError,
|
||||
InvalidUri,
|
||||
StoreReadError,
|
||||
StoreWriteError,
|
||||
}
|
||||
|
||||
fn link_error_type_as_str(e: &LinkErrorKind) -> &'static str {
|
||||
|
@ -37,6 +38,9 @@ fn link_error_type_as_str(e: &LinkErrorKind) -> &'static str {
|
|||
|
||||
&LinkErrorKind::StoreReadError
|
||||
=> "Store read error",
|
||||
|
||||
&LinkErrorKind::StoreWriteError
|
||||
=> "Store write error",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue