Raising ArgumentError on bad adapter input