fix(commands/err)
I didn't know there were dragons here.
When casting errors we've gotta be careful. Apparently both values and
pointers satisfy the error interface. Type checking for one doesn't
catch the other.
cc @whyrusleeping @mappum @jbenet
License: MIT
Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
Showing
Please register or sign in to comment