is there a generic error type/code that we can use?