mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 14:58:05 +08:00
14 lines
274 B
Rust
14 lines
274 B
Rust
use super::LayerId;
|
|
|
|
/// A set of different errors that can occur when using this crate.
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
pub enum DocumentError {
|
|
LayerNotFound(Vec<LayerId>),
|
|
InvalidPath,
|
|
IndexOutOfBounds,
|
|
NotFolder,
|
|
NotShape,
|
|
NotLayer,
|
|
InvalidFile(String),
|
|
}
|