Return Error object instead of string in reject()