mirror of
git://git.proxmox.com/git/perlmod.git
synced 2025-01-22 02:04:05 +03:00
more doc updates
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
204bff669b
commit
4bb84e440f
@ -1,9 +1,11 @@
|
||||
use thiserror::Error as ThisError;
|
||||
|
||||
/// Error returned by `TryFrom` implementations between `Scalar`, `Array` and `Hash`.
|
||||
#[derive(ThisError, Debug)]
|
||||
#[error("wrong type")]
|
||||
pub struct CastError;
|
||||
|
||||
/// Generic errors from the perlmod crate.
|
||||
#[derive(ThisError, Clone, Debug)]
|
||||
#[error("error: {0}")]
|
||||
pub struct Error(pub(crate) String);
|
||||
|
Loading…
x
Reference in New Issue
Block a user