pub struct BaseException {
pub name: String,
pub status: u32,
pub message: String,
}Expand description
异常基类
对应 TypeScript 版本的 BaseException
Fields§
§name: String异常名称
status: u32状态码
message: String错误消息
Implementations§
Trait Implementations§
Source§impl Debug for BaseException
impl Debug for BaseException
Auto Trait Implementations§
impl Freeze for BaseException
impl RefUnwindSafe for BaseException
impl Send for BaseException
impl Sync for BaseException
impl Unpin for BaseException
impl UnsafeUnpin for BaseException
impl UnwindSafe for BaseException
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more