module Stargate::Server

Constants

ClassAlreadyRegisteredError

Public: Raised when trying to register the same class twice within single registry.

ClassNotExposedError

Public: Raised when requested class is not exposed/registered.

Error

Public: Base server error.

MethodNotExposedError

Public: Raised when called method is not exposed.

NotFoundError

Public: Base class for not-found type errors.

RegistryVersionUndefinedError

Public: Raised when trying to get non-existent registry version.

UnregisteredClassExposureError

Public: Raised when trying to return (and pack into payload) data of unregistered or unsupported type. For example when exposed class method returns value of type different than itself, hash or basic.