All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.client3.ws.exceptions.scala Maven / Gradle / Ivy

There is a newer version: 3.10.1
Show newest version
package sttp.client3.ws

import sttp.model.StatusCode

class NotAWebSocketException(statusCode: StatusCode)
    extends Exception(s"Not a web socket; got response code: $statusCode")

class GotAWebSocketException() extends Exception("Got a web socket, but expected normal content")




© 2015 - 2024 Weber Informatics LLC | Privacy Policy