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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastError
  2. Product14
  3. Product
  4. Equals
  5. NoStackTrace
  6. WriteResult
  7. DatabaseException
  8. ReactiveMongoException
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. 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

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() @HotSpotIntrinsicCandidate()
  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. def equals(that: Any): Boolean
    Definition Classes
    LastError → Equals → 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 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() @HotSpotIntrinsicCandidate()
  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 hashCode(): Int
    Definition Classes
    LastErrorDatabaseException → AnyRef → Any
  26. def inError: Boolean
    Definition Classes
    LastErrorWriteResult
  27. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. 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
  30. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

    Tells if this error is related to authentication issues.

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

    explanation message

    explanation message

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

Deprecated Value Members

  1. def _1: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  2. def _10: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  3. def _11: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  4. def _12: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  5. def _13: Seq[WriteError]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  6. def _14: Option[WriteConcernError]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  7. def _2: Option[String]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  8. def _3: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  9. def _4: Option[Long]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  10. def _5: Int
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  11. def _6: Option[String]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  12. def _7: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  13. def _8: Option[BSONValue]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  14. def _9: Option[W]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  15. def canEqual(that: Any): Boolean
    Definition Classes
    LastError → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) No longer a case class

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

  17. 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)

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