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

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)

Type Members

  1. type Document = Nothing

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val code: Option[Int]

    The result code

    The result code

    Definition Classes
    LastErrorWriteResult → DatabaseException
  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. def equals(that: Any): Boolean
    Definition Classes
    DatabaseException → AnyRef → Any
  16. 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
  17. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. 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()
  20. def getCause(): Throwable
    Definition Classes
    Throwable
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  23. def getMessage(): String
    Definition Classes
    DatabaseException → ReactiveMongoException → Throwable
  24. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  25. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  26. def hashCode(): Int
    Definition Classes
    DatabaseException → AnyRef → Any
  27. def inError: Boolean
    Definition Classes
    LastErrorWriteResult
  28. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isNotAPrimaryError: Boolean
    Definition Classes
    DatabaseException
  31. def isUnauthorized: Boolean
    Definition Classes
    DatabaseException
  32. val lastOp: Option[Long]
  33. lazy val message: String
    Definition Classes
    LastErrorWriteResult → ReactiveMongoException
  34. val n: Int
    Definition Classes
    LastErrorWriteResult
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. val ok: Boolean
    Definition Classes
    LastErrorWriteResult
  39. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  40. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  41. def printStackTrace(): Unit
    Definition Classes
    Throwable
  42. def productElementNames: Iterator[String]
    Definition Classes
    Product
  43. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  44. val singleShard: Option[String]
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    DatabaseException → Throwable → AnyRef → Any
  47. val updatedExisting: Boolean
  48. val upserted: Option[BSONValue]
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  52. val waited: Option[Int]
  53. val wnote: Option[W]
  54. val writeConcernError: Option[WriteConcernError]
    Definition Classes
    LastErrorWriteResult
  55. val writeErrors: Seq[WriteError]
    Definition Classes
    LastErrorWriteResult
  56. val wtime: Option[Int]
  57. val wtimeout: Boolean

Deprecated Value Members

  1. def originalDocument: Option[BSONDocument]
    Definition Classes
    LastError → DatabaseException
    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