summaryrefslogtreecommitdiffstats
path: root/lib/iotas/room.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iotas/room.rb')
-rw-r--r--lib/iotas/room.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/iotas/room.rb b/lib/iotas/room.rb
index 203b74c..4482a6b 100644
--- a/lib/iotas/room.rb
+++ b/lib/iotas/room.rb
@@ -21,6 +21,13 @@
#
module Iotas
#
+ ERROR_ROUTE_NS = 'routing error: no source'.freeze
+ ERROR_ROUTE_RRWD = 'routing error: right room, wrong door'.freeze
+ ERROR_ROUTE_DDWR = 'routing error: drill down, wrong room'.freeze
+ ERROR_ROUTE_TRWR = 'routing error: top room, wrong room'.freeze
+ ERROR_ROUTE_NDNL = 'routing error: no destination, no link'.freeze
+ ERROR_ROUTE_SND = 'routing error: system no destination'.freeze
+ #
class Room < Iota
#
def initialize n, p