lib/nylas/registry.rb in nylas-4.6.5 vs lib/nylas/registry.rb in nylas-4.6.6

- old
+ new

@@ -6,9 +6,10 @@ class Registry # Used to indicate an attempt to retrieve something not yet registered in a registry # Includes the list of keys in the registry for debug purposes. class MissingKeyError < Error attr_accessor :key + def initialize(key, keys) super("key #{key} not in #{keys}") self.key = key end end