open-vaf 0.4.2

A compiler frontend for VerilogA aimed predominently at compact modelling
Documentation
/*
 * ******************************************************************************************
 * Copyright (c) 2019 Pascal Kuthe. This file is part of the OpenVAF project.
 * It is subject to the license terms in the LICENSE file found in the top-level directory
 *  of this distribution and at  https://gitlab.com/DSPOM/OpenVAF/blob/master/LICENSE.
 *  No part of OpenVAF, including this file, may be copied, modified, propagated, or
 *  distributed except according to the terms contained in the LICENSE file.
 * *****************************************************************************************
 */

use crate::{ Span};

#[derive(Debug, Clone, Copy)]
pub struct Error<ErrorType> {
    pub error_type: ErrorType,
    pub source: Span,
}

/*
#[derive(Error, Debug)]
pub enum OpenVAFError {
    #[error("Compilation failed!")]
    InvalidCode(usize),
    Io {
        #[from]
        error: io::Error,
    },
}*/