kreuzberg.rpc
package kreuzberg.rpc
Members list
Type members
Classlikes
class ApiRestClient(baseUrl: String)(implicit ec: ExecutionContext) extends CallingBackend[Future, String]
Rest client for API Calls.
Rest client for API Calls.
Attributes
- Supertypes
Interface for a calling out backend.
Interface for a calling out backend.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ApiRestClientclass ZioApiRestClient
Encapsulates encoding of single values.
Encapsulates encoding of single values.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object Codec
case class CodecError(message: String, cause: Throwable) extends Failure
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A wrapped service.
A wrapped service.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Dispatcher
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Dispatcher.type
case class Dispatchers[F[_], T](dispatchers: Seq[Dispatcher[F, T]])(using effect: EffectSupport[F]) extends Dispatcher[F, T]
Combines multiple dispatchers into one.
Combines multiple dispatchers into one.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Defines necessary properties of the used effect
Defines necessary properties of the used effect
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object EffectSupport
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EffectSupport.type
JSON Encoded error.
JSON Encoded error.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object EncodedError
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EncodedError.type
sealed abstract class Failure(message: String, cause: Throwable) extends RuntimeException
Attributes
- Companion
- object
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CodecErrorclass NotFoundclass ServiceExecutionErrorclass UnknownCallErrorclass UnknownServiceErrorclass ValidationFailedShow all
object Failure
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object MessageCodec
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MessageCodec.type
Some resource was not found.
Some resource was not found.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class ServiceExecutionError(message: String, code: Option[Int], cause: Throwable) extends Failure
Generic execution error on server side.
Generic execution error on server side.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
object Stub
Macro generated Stubs forwarding calls to CallingBackend
Macro generated Stubs forwarding calls to CallingBackend
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Stub.type
case class UnknownCallError(serviceName: String, call: String) extends Failure
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class UnknownServiceError(serviceName: String) extends Failure
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class ValidationFailed(message: String, cause: Throwable) extends Failure
Some validation failed"
Some validation failed"
Attributes
- Supertypes
-
trait Producttrait Equalsclass Failureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
class ZioApiRestClient(baseUrl: String) extends CallingBackend[Task, String]
Attributes
- Supertypes
In this article