grimm error handling