By printing errors to console, it means API implementations cannot properly handle any errors. My suggestions are to either throw an exception, or have a onError event for the implementation to listen for.