class LastError extends Exception with DatabaseException with WriteResult with NoStackTrace with Product14[Boolean, Option[String], Option[Int], Option[Long], Int, Option[String], Boolean, Option[BSONValue], Option[W], Boolean, Option[Int], Option[Int], Seq[WriteError], Option[WriteConcernError]] with Serializable
- Alphabetic
- By Inheritance
- LastError
- Product14
- Product
- Equals
- NoStackTrace
- WriteResult
- DatabaseException
- ReactiveMongoException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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() @HotSpotIntrinsicCandidate()
- 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
- LastError → Equals → 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 formatted(fmtstr: String): String
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- LastError → 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
Tells if this error is due to a write on a secondary node.
Tells if this error is due to a write on a secondary node.
- Definition Classes
- DatabaseException
- def isUnauthorized: Boolean
Tells if this error is related to authentication issues.
Tells if this error is related to authentication issues.
- Definition Classes
- DatabaseException
- val lastOp: Option[Long]
- lazy val message: String
explanation message
explanation message
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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 productArity: Int
- Definition Classes
- Product14 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product14 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: 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
- LastError → 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 _1: Boolean
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _10: Boolean
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _11: Option[Int]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _12: Option[Int]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _13: Seq[WriteError]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _14: Option[WriteConcernError]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _2: Option[String]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _3: Option[Int]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _4: Option[Long]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _5: Int
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _6: Option[String]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _7: Boolean
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _8: Option[BSONValue]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _9: Option[W]
- Definition Classes
- LastError → Product14
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def canEqual(that: Any): Boolean
- Definition Classes
- LastError → Equals
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) No longer a case class
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def originalDocument: Option[BSONDocument]
original document of this error
original document of this error
- 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.