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