Check if number handle is actually an error handle and throw accordingly if so.