Clean up API and small fixes
This commit is contained in:
parent
665cdb2881
commit
a80da338e4
13 changed files with 56 additions and 36 deletions
|
|
@ -16,4 +16,11 @@ pub enum DiffError {
|
|||
/// The number of characters available from the position
|
||||
available: usize,
|
||||
},
|
||||
|
||||
/// A character count was too large to represent as i64
|
||||
#[error("Integer overflow: value {value} cannot be represented as i64")]
|
||||
IntegerOverflow {
|
||||
/// The value that caused the overflow
|
||||
value: usize,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue