Packages

t

ackcord.requests

FailedRequest

sealed trait FailedRequest extends RequestAnswer[Nothing]

A failed request.

Source
requestObjs.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FailedRequest
  2. RequestAnswer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def asException: Throwable

    Get the exception associated with this failed request, or makes one if one does not exist.

  2. abstract def filter(f: (Nothing) => Boolean): RequestAnswer[Nothing]

    Apply f if this is a successful response, and return this if the result is true, else returns a failed answer.

    Apply f if this is a successful response, and return this if the result is true, else returns a failed answer.

    Definition Classes
    RequestAnswer
  3. abstract def flatMap[B](f: (Nothing) => RequestAnswer[B]): RequestAnswer[B]

    Apply f and returns the result if this is a successful response.

    Apply f and returns the result if this is a successful response.

    Definition Classes
    RequestAnswer
  4. abstract def identifier: UUID

    An unique identifier to track this request from creation to answer.

    An unique identifier to track this request from creation to answer.

    Definition Classes
    RequestAnswer
  5. abstract def map[B](f: (Nothing) => B): RequestAnswer[B]

    Apply a function to this answer, if it's a successful response.

    Apply a function to this answer, if it's a successful response.

    Definition Classes
    RequestAnswer
  6. abstract def ratelimitInfo: RatelimitInfo

    Information about ratelimits gotten from this request.

    Information about ratelimits gotten from this request.

    Definition Classes
    RequestAnswer
  7. abstract def route: RequestRoute

    The route for this request

    The route for this request

    Definition Classes
    RequestAnswer

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def eitherData: Either[Throwable, Nothing]

    An either that either contains the data, or the exception if this is a failure.

    An either that either contains the data, or the exception if this is a failure.

    Definition Classes
    FailedRequestRequestAnswer
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from RequestAnswer[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped