Adding Error COdes to Custom Exceptions