mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-05 23:00:03 +00: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;
|
use thiserror::Error as ThisError;
|
||||||
|
|
||||||
|
/// Error returned by `TryFrom` implementations between `Scalar`, `Array` and `Hash`.
|
||||||
#[derive(ThisError, Debug)]
|
#[derive(ThisError, Debug)]
|
||||||
#[error("wrong type")]
|
#[error("wrong type")]
|
||||||
pub struct CastError;
|
pub struct CastError;
|
||||||
|
|
||||||
|
/// Generic errors from the perlmod crate.
|
||||||
#[derive(ThisError, Clone, Debug)]
|
#[derive(ThisError, Clone, Debug)]
|
||||||
#[error("error: {0}")]
|
#[error("error: {0}")]
|
||||||
pub struct Error(pub(crate) String);
|
pub struct Error(pub(crate) String);
|
||||||
|
Loading…
Reference in New Issue
Block a user