mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-24 17:08:03 +02:00
Split API classes and interfaces
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace MongoDB;
|
||||
|
||||
interface ServerError extends ServerResult
|
||||
{
|
||||
/**
|
||||
* @return integer Server error code
|
||||
*/
|
||||
function getCode();
|
||||
|
||||
/**
|
||||
* @return string Server error message
|
||||
*/
|
||||
function getMessage();
|
||||
}
|
||||
Reference in New Issue
Block a user