class Mongo::Error::ServerApiNotSupported

Exception raised when a Client has :server_api configured and an operation is executed against a pre-3.6 MongoDB server using a legacy wire protocol message that does not permit sending API parameters.