Fleshing out the Error class