Rename ErrorMessageResult to BadRequestErrorMessageResult (fixes #1188).