Skip to content

Commit abc766f

Browse files
committed
try mermaid in gh
1 parent b9ba457 commit abc766f

File tree

5 files changed

+25
-48
lines changed

5 files changed

+25
-48
lines changed

etc/charts/README.md

-11
This file was deleted.

etc/charts/build_images.sh

-13
This file was deleted.

etc/charts/imgs/MongoError.svg

-1
This file was deleted.

etc/charts/mermaid/MongoError.mmd

-22
This file was deleted.

etc/notes/errors.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,31 @@ There are four main error classes which stem from `MongoError`: `MongoDriverErro
3939

4040
The base class from which all errors in the Node driver subclass.
4141
`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+
```
4367

4468
Children of `MongoError` include:
4569

0 commit comments

Comments
 (0)