ultragraph 0.4.5

Hypergraph data structure.
Documentation
// SPDX-License-Identifier: MIT
// Copyright (c) "2023" . Marvin Hansen <marvin.hansen@gmail.com> All rights reserved.

#![forbid(unsafe_code)]

use std::error::Error;
use std::fmt;

#[derive(Debug)]
pub struct UltraGraphError(pub String);

impl Error for UltraGraphError {}

impl fmt::Display for UltraGraphError
{
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "UltraGraphError: {}", self.0)
    }
}