@@ -39,7 +39,31 @@ There are four main error classes which stem from `MongoError`: `MongoDriverErro
39
39
40
40
The base class from which all errors in the Node driver subclass.
41
41
` MongoError ` should ** never** be be directly instantiated.
42
- ![ (MongoError hierarchy tree)] ( ../charts/imgs/MongoError.svg )
42
+
43
+ ``` mermaid
44
+ graph TD
45
+ MongoError --- MongoDriverError
46
+ MongoError --- MongoNetworkError
47
+ MongoError --- MongoServerError
48
+ MongoError --- MongoSystemError
49
+ MongoDriverError --- MongoAPIError
50
+ MongoDriverError --- MongoRuntimeError
51
+
52
+ linkStyle 0 stroke:#116149
53
+ linkStyle 1 stroke:#116149
54
+ linkStyle 2 stroke:#116149
55
+ linkStyle 3 stroke:#116149
56
+ linkStyle 4 stroke:#116149
57
+ linkStyle 5 stroke:#116149
58
+
59
+ style MongoError fill:#13aa52,stroke:#21313c,color:#FAFBFC
60
+ style MongoSystemError fill:#13aa52,stroke:#21313c,color:#FAFBFC
61
+ style MongoNetworkError fill:#13aa52,stroke:#21313c,color:#FAFBFC
62
+ style MongoServerError fill:#13aa52,stroke:#21313c,color:#FAFBFC
63
+ style MongoDriverError fill:#13aa52,stroke:#21313c,color:#FAFBFC
64
+ style MongoAPIError fill:#13aa52,stroke:#21313c,color:#FAFBFC
65
+ style MongoRuntimeError fill:#13aa52,stroke:#21313c,color:#FAFBFC
66
+ ```
43
67
44
68
Children of ` MongoError ` include:
45
69
0 commit comments