module DMAO module API module Errors class InvalidDatasetFile < StandardError attr_reader :errors def initialize(msg="Invalid dataset file details passed in, please see errors.", errors=nil) @errors = errors super(msg) end end end end end