module MasterView # Raised when an invalid path is encountered. # # Used by both directive loading and template IO processing. # class InvalidPathError < RuntimeError # the file system path def path @path || nil end def initialize( path, err_msg) super(err_msg) @path = path.to_s end end end