fix error methods

test plan:
 - specs should pass

fixes PLAT-643

Change-Id: Ib9135256013ec1b00059cbb7334b568608f7c79b
Reviewed-on: https://gerrit.instructure.com/41149
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Product-Review: Brad Humphrey <brad@instructure.com>
QA-Review: Brad Humphrey <brad@instructure.com>