File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ func (t *Type) NewWithNoMessage() *Error {
5353
5454// Wrap creates an error of this type with another as original cause.
5555// As far as type checks are concerned, this error is the only one visible, with original present only in error message.
56- // The original error will, however, pass its dynamic properties.
56+ // The original error will not pass its dynamic properties, and those are accessible only via direct walk over Cause() chain .
5757// Without args, leaves the original message intact, so a message may be generated or provided externally.
5858// With args, a formatting is performed, and it is therefore expected a format string to be constant.
5959func (t * Type ) Wrap (err error , message string , args ... interface {}) * Error {
You can’t perform that action at this time.
0 commit comments