added underlying error and ‘other error’ code