HttpError

case class HttpError(status: Int, body: String) extends SlackError

Errors that could not be parsed, these usually indicate some other type of network error that prevented processing

Value parameters:
body

The unparsed body of the error response

status

The network status code

trait Serializable
trait Product
trait Equals
trait SlackResponse[Nothing]
class Object
trait Matchable
class Any

Value members

Inherited methods

def both[B](that: SlackResponse[B])(implicit zippable: Zippable[Nothing, B]): SlackResponse[Out]
Inherited from:
SlackError
def map[B](f: Nothing => B): SlackResponse[Nothing]
Inherited from:
SlackError
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def toEither: Either[SlackError, Nothing]

Converts the response into an either by unpacking the value into the right-hand channel and throwing away any warnings

Converts the response into an either by unpacking the value into the right-hand channel and throwing away any warnings

Inherited from:
SlackResponse
def toEitherWith[B](f: (Nothing, List[String]) => B): Either[SlackError, B]
Inherited from:
SlackError

Inherited fields

val isOk: Boolean
Inherited from:
SlackError