BF: Removed use of createErrorResult