rethrow the error if no default onerror handler is specified