Add type safe way, to check properties of Exceptions