You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,20 +39,20 @@ Proposed namespace structure
39
39
40
40
Proposed class tree
41
41
-------------------
42
-
-Exceptions (namespace)
42
+
-StandardExceptions (namespace)
43
43
44
-
- Array (namespace)
45
-
- ArrayUnderflowException
44
+
- ArrayExceptions (namespace)
46
45
- ArrayIsEmptyException
47
46
- ArrayIsFullException
47
+
- ArrayUnderflowException
48
48
- IndexNotFoundException
49
49
- InvalidKeyException
50
50
- KeyAlreadyExistsException
51
51
- KeyNotFoundException
52
52
- ReadOnlyArrayException
53
53
- ReadOnlyArrayItemException
54
54
55
-
-IO (namespace)
55
+
-IOExceptions (namespace)
56
56
- ConnectionLostException
57
57
- ConnectionRefusedException
58
58
- DirectoryNotFoundException
@@ -66,19 +66,19 @@ Proposed class tree
66
66
- UnexpectedResponseException
67
67
- UnknownHostException
68
68
69
-
-Logic (namespace)
69
+
-LogicExceptions (namespace)
70
70
- IllegalArgumentTypeException
71
71
- IllegalValueException
72
72
73
-
-Operation (namespace)
73
+
-OperationExceptions (namespace)
74
74
- BadFunctionCallException
75
75
- BadMethodCallException
76
76
- InvalidOperationException
77
77
- NotImplementedYetException
78
-
- UnexpectedReturnValueException
79
78
- OverflowException
79
+
- UnexpectedReturnValueException
80
80
81
-
-Validation (namespace)
81
+
-ValidationExceptions (namespace)
82
82
- IncorrectLengthException
83
83
- InvalidBooleanException
84
84
- InvalidDateTimeException
@@ -97,11 +97,12 @@ Proposed class tree
97
97
98
98
Automatically deprecated exceptions
99
99
-----------------------------------
100
+
- ArrayUnderflowException in favor of ArrayIsEmptyException
100
101
- BadMethodCallException in favor of BadFunctionCallException
102
+
- BadFunctionCallException in favor of InvalidOperationException
101
103
- IllegalValueException in favor of InvalidValueException
102
-
- ArrayUnderflowException in favor of ArrayIsEmptyException
103
104
- IncorrectLengthException in favor of InvalidLengthException
104
-
-InvalidIndexException in favor of InvalidKeyException
105
+
-IndexNotFoundException in favor of KeyNotFoundException
105
106
106
107
New exceptions and namespaces
107
108
=============================
@@ -129,4 +130,4 @@ There are many validation functions or libraries, but each throw their own excep
129
130
130
131
Contribution notes
131
132
==================
132
-
Don't hesitate to contribute to this package, propose new exceptions to be pushed to the standard package. Don't hesitate to trigger discussions in the project as we want the best possible standard exception library. Nothing is perfect, everyone has different views, this project is for everyone!
133
+
Don't hesitate to contribute to this package, propose new exceptions to be pushed to the standard package. Don't hesitate to trigger discussions in the project as we want the best possible standard exception library. Nothing is perfect, everyone has different views, this project is for everyone!
0 commit comments