David Mintz wrote:
> There is no method that returns the native error code, to get it you have
> to do something like parse it out of the string returned by getUserInfo()
>
> True or false?
False.
if ( DB::isError( $result ) ) {
die ( $result->getDebugInfo() );
}