Since we're making these utils it might make sense to standardize what is sent to err. (Personally like {code, msg} but its really up to you. What we have is fine (code || msg) if we document it in the utils functions.