Angular Http Client Error Handling In Compiler