ezdwg-core 0.22.0

Pure Rust DWG reader and native AC1015 writer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::core::error::{DwgError, ErrorKind};
use crate::core::result::Result;

pub type WriterResult<T> = Result<T>;

pub fn unsupported(message: impl Into<String>) -> DwgError {
    DwgError::new(ErrorKind::Unsupported, message)
}

pub fn not_implemented(message: impl Into<String>) -> DwgError {
    DwgError::new(ErrorKind::NotImplemented, message)
}