-
Type: New Feature
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Error Handling
-
None
The errors within the bson, builder, and elements package don't provide much information. We need to add a custom error type for each package that ensures that errors have enough information contained within to debug problems and pinpoint where a particular error originated from. For instance, the ErrTooSmall error is used in several places, we should ensure that when the equivalent message is returned with the new custom errors that it is easy to pinpoint from where this error is originating.