AjaxException

case class AjaxException(xhr: XMLHttpRequest) extends Exception

Thrown when Ajax.get or Ajax.post receives a non-20X response code. Contains the XMLHttpRequest that resulted in that response

This used to be in scalajs-dom but was deprecated in v2.0.0.

trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def isTimeout: Boolean

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
def fillInStackTrace(): Throwable
Inherited from:
Throwable
def getCause(): Throwable
Inherited from:
Throwable
def getLocalizedMessage(): String
Inherited from:
Throwable
def getMessage(): String
Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from:
Throwable
def printStackTrace(): Unit
Inherited from:
Throwable
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from:
Throwable
def toString(): String
Inherited from:
Throwable