Throw an exception on an unsupported callable type