Sha256: f7cef1d769b3dc057aefa45dbf8c7cfdec9dc9cf2550adafb283db2d79be3ab3
Contents?: true
Size: 1.23 KB
Versions: 13
Compression:
Stored size: 1.23 KB
Contents
module Mack module Distributed # :nodoc: module Errors # :nodoc: # Raised when an unknown distributed application is referenced. class UnknownApplication < StandardError # Takes the application name. def initialize(app_name) super("APPLICATION: #{app_name} is not a known/registered distributed application.") end end # Raised when an unknown distributed route name for a distributed application is referenced. class UnknownRouteName < StandardError # Takes the application name and the route name. def initialize(app_name, route_name) super("ROUTE_NAME: #{route_name}, is not a known/registered distributed route name for application: #{app_name}.") end end # Raised when an application doesn't declare it's application name for use in a distributed system. class ApplicationNameUndefined < StandardError end # Raised when the distributed path is not a well formed addressable format class InvalidAddressableURIFormat < StandardError def inititalize(msg) super("Invalid addressable format: #{msg}") end end end # Errors end # Distributed end # Mack
Version data entries
13 entries across 13 versions & 1 rubygems