# Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
#
# This program is licensed to you under the Apache License Version 2.0,
# and you may not use this file except in compliance with the Apache License Version 2.0.
# You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the Apache License Version 2.0 is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.

# Author::    Alex Dean (mailto:support@snowplowanalytics.com)
# Copyright:: Copyright (c) 2012-2013 Snowplow Analytics Ltd
# License::   Apache License Version 2.0

# All errors
module SnowPlow
  module StorageLoader

    # The base error class for all <tt>EmrEtlRunner</tt> error classes.
    class Error < StandardError
    end

    # Raised when there's a problem with the supplied configuration (either command line or in configuration file)
    class ConfigError < Error
    end

    # Raised if a directory is not empty
    class DirectoryNotEmptyError < Error
    end

    # A problem with the load into a database
    class DatabaseLoadError < Error
    end
  end
end