case class LastError(ok: Boolean, errmsg: Option[String], code: Option[Int], lastOp: Option[Long], n: Int, singleShard: Option[String], updatedExisting: Boolean, upserted: Option[BSONValue], wnote: Option[W], wtimeout: Boolean, waited: Option[Int], wtime: Option[Int], writeErrors: Seq[WriteError] = Nil, writeConcernError: Option[WriteConcernError] = None) extends Exception with DatabaseException with WriteResult with NoStackTrace with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LastError
- Product
- Equals
- NoStackTrace
- WriteResult
- DatabaseException
- ReactiveMongoException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LastError(ok: Boolean, errmsg: Option[String], code: Option[Int], lastOp: Option[Long], n: Int, singleShard: Option[String], updatedExisting: Boolean, upserted: Option[BSONValue], wnote: Option[W], wtimeout: Boolean, waited: Option[Int], wtime: Option[Int], writeErrors: Seq[WriteError] = Nil, writeConcernError: Option[WriteConcernError] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (LastError, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val code: Option[Int]
The result code
The result code
- Definition Classes
- LastError → WriteResult → DatabaseException
- def ensuring(cond: (LastError) => Boolean, msg: => Any): LastError
- def ensuring(cond: (LastError) => Boolean): LastError
- def ensuring(cond: Boolean, msg: => Any): LastError
- def ensuring(cond: Boolean): LastError
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- DatabaseException → AnyRef → Any
- val errmsg: Option[String]
If the result is a failure, the error message
If the result is a failure, the error message
- Definition Classes
- LastError → WriteResult
- def fillInStackTrace(): Throwable
- Definition Classes
- NoStackTrace → Throwable
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- DatabaseException → ReactiveMongoException → Throwable
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def hashCode(): Int
- Definition Classes
- DatabaseException → AnyRef → Any
- def inError: Boolean
- Definition Classes
- LastError → WriteResult
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNotAPrimaryError: Boolean
- Definition Classes
- DatabaseException
- def isUnauthorized: Boolean
- Definition Classes
- DatabaseException
- val lastOp: Option[Long]
- lazy val message: String
- Definition Classes
- LastError → WriteResult → ReactiveMongoException
- val n: Int
- Definition Classes
- LastError → WriteResult
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val ok: Boolean
- Definition Classes
- LastError → WriteResult
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- val singleShard: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- DatabaseException → Throwable → AnyRef → Any
- val updatedExisting: Boolean
- val upserted: Option[BSONValue]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val waited: Option[Int]
- val wnote: Option[W]
- val writeConcernError: Option[WriteConcernError]
- Definition Classes
- LastError → WriteResult
- val writeErrors: Seq[WriteError]
- Definition Classes
- LastError → WriteResult
- val wtime: Option[Int]
- val wtimeout: Boolean
Deprecated Value Members
- def originalDocument: Option[BSONDocument]
- Definition Classes
- LastError → DatabaseException
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use the detailed properties (e.g.
code
)
- def →[B](y: B): (LastError, B)
- Implicit
- This member is added by an implicit conversion from LastError toArrowAssoc[LastError] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.