Added context error codes