Sha256: 69ac7fe160697e31737b43ef31c88455a764c31c155adea7e9e83efcae568672

Contents?: true

Size: 869 Bytes

Versions: 15

Compression:

Stored size: 869 Bytes

Contents

# frozen_string_literal: true

#
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

module Chelsea
  # Project dependency exception
  class DependencyException < StandardError
    def initialize(msg = 'This is a custom exception', exception_type = 'custom')
      @exception_type = exception_type
      super(msg)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chelsea-0.0.43 lib/chelsea/dependency_exception.rb
chelsea-0.0.42 lib/chelsea/dependency_exception.rb
chelsea-0.0.41 lib/chelsea/dependency_exception.rb
chelsea-0.0.40 lib/chelsea/dependency_exception.rb
chelsea-0.0.38 lib/chelsea/dependency_exception.rb
chelsea-0.0.37 lib/chelsea/dependency_exception.rb
chelsea-0.0.36 lib/chelsea/dependency_exception.rb
chelsea-0.0.35 lib/chelsea/dependency_exception.rb
chelsea-0.0.34 lib/chelsea/dependency_exception.rb
chelsea-0.0.33 lib/chelsea/dependency_exception.rb
chelsea-0.0.32 lib/chelsea/dependency_exception.rb
chelsea-0.0.31 lib/chelsea/dependency_exception.rb
chelsea-0.0.30 lib/chelsea/dependency_exception.rb
chelsea-0.0.29 lib/chelsea/dependency_exception.rb
chelsea-0.0.28 lib/chelsea/dependency_exception.rb