about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/lf-make-map/src/mapping/error.rs
blob: ac772430f145c8d590c2cf57b4c2cf2f2bbfebe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
use thiserror::Error;

use super::MapKey;

#[derive(Error, Debug)]
pub enum Error {
    #[error("The node at key '{}' already exists!", MapKey::display(&.0))]
    NodeExits(Vec<MapKey>),
}