do you think there is a need for a `onerror` handler as well?