Update interface

This makes it so that the dataone adapter can 'pass' for specified error codes.
use different name to not shadow?