Sha256: 3f169235ab4a054c5fc0d7cb70454ff0f45ef8f07ef69d5aa2926730a4fac27c

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

module GoodData
  class NoProjectError < RuntimeError
    DEFAULT_MSG = 'You have to provide "project_id". You can either provide it through -p flag or even better way is to fill it in in your Goodfile under key "project_id". If you just started a project you have to create it first. One way might be through "gooddata project build"'

    def initialize(msg = DEFAULT_MSG)
      super(msg)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gooddata-0.6.51 lib/gooddata/exceptions/no_project_error.rb
gooddata-0.6.50 lib/gooddata/exceptions/no_project_error.rb