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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastError
  2. Product
  3. Equals
  4. NoStackTrace
  5. WriteResult
  6. DatabaseException
  7. ReactiveMongoException
  8. Exception
  9. Throwable
  10. Serializable
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LastError toany2stringadd[LastError] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val code: Option[Int]

    The result code

    The result code

    Definition Classes
    LastErrorWriteResultDatabaseException
  10. def ensuring(cond: (LastError) => Boolean, msg: => Any): LastError
    Implicit
    This member is added by an implicit conversion from LastError toEnsuring[LastError] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (LastError) => Boolean): LastError
    Implicit
    This member is added by an implicit conversion from LastError toEnsuring[LastError] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): LastError
    Implicit
    This member is added by an implicit conversion from LastError toEnsuring[LastError] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): LastError
    Implicit
    This member is added by an implicit conversion from LastError toEnsuring[LastError] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val errmsg: Option[String]

    If the result is a failure, the error message

    If the result is a failure, the error message

    Definition Classes
    LastErrorWriteResult
  16. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LastError toStringFormat[LastError] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def getCause(): Throwable
    Definition Classes
    Throwable
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  22. def getMessage(): String
    Definition Classes
    DatabaseExceptionReactiveMongoException → Throwable
  23. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  24. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  25. def inError: Boolean
    Definition Classes
    LastErrorWriteResult
  26. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. 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
  29. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

    Tells if this error is related to authentication issues.

    Definition Classes
    DatabaseException
  30. val lastOp: Option[Long]
  31. lazy val message: String

    explanation message

    explanation message

    Definition Classes
    LastErrorWriteResultReactiveMongoException
  32. val n: Int
    Definition Classes
    LastErrorWriteResult
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. val ok: Boolean
    Definition Classes
    LastErrorWriteResult
  37. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  38. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  39. def printStackTrace(): Unit
    Definition Classes
    Throwable
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  42. val singleShard: Option[String]
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  45. val updatedExisting: Boolean
  46. val upserted: Option[BSONValue]
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. val waited: Option[Int]
  51. val wnote: Option[W]
  52. val writeConcernError: Option[WriteConcernError]
    Definition Classes
    LastErrorWriteResult
  53. val writeErrors: Seq[WriteError]
    Definition Classes
    LastErrorWriteResult
  54. val wtime: Option[Int]
  55. val wtimeout: Boolean

Deprecated Value Members

  1. def originalDocument: Option[BSONDocument]

    original document of this error

    original document of this error

    Definition Classes
    LastErrorDatabaseException
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use the detailed properties (e.g. code)

  2. 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.

Inherited from Product

Inherited from Equals

Inherited from NoStackTrace

Inherited from WriteResult

Inherited from DatabaseException

Inherited from ReactiveMongoException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromLastError to any2stringadd[LastError]

Inherited by implicit conversion StringFormat fromLastError to StringFormat[LastError]

Inherited by implicit conversion Ensuring fromLastError to Ensuring[LastError]

Inherited by implicit conversion ArrowAssoc fromLastError to ArrowAssoc[LastError]

Ungrouped