Throw an Error when an unsuported function is called, instead of an
SegFault.