alright 0.1.1

A Safe-running, error-free, error-transmission without loss, 0 `Any` and 0 `unsafe block` error handling system - Aiming to provide a better development experience for the application layer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Serialize;

use crate::{
    modules::types::property::Property,
    traits::Transform
};

#[derive(Debug, Clone, Serialize, Default)]
pub struct BaseException<T: Transform<T>> {
    /// 这里之所以没有再使用 inner 的方案
    /// 是因为那样不可避免的会导致爆栈
    /// 因为全是递归
    /// 所以最后想到了使用结构体指针的方法
    pub property : Box<Property<T>>,
    pub target_ptr: T
}