6use serde::{Deserialize, Serialize};
7
8▶/// Error categories matching the TS ErrorCategory enum
9#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
10pub enum ErrorCategory {
· · ·
10▶pub enum ErrorCategory {
11 Hooks,
12 CapitalizedCalls,
· · ·
24 EffectSetState,
25 EffectDerivationsOfState,
26▶ ErrorBoundaries,
27 Purity,
28 RenderSetState,
· · ·
37}
38
39▶/// Error severity levels
40#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
41pub enum ErrorSeverity {
· · ·
41▶pub enum ErrorSeverity {
42 Error,
43 Warning,
+ 104 more matches in this file