Add ErrorCodeSupplier interface