module Line
  module Bot
    module API
      class InvalidCredentialsError < StandardError; end
    end
  end
end

module Line
  module Bot
    module API
      class Error < StandardError; end
      class InvalidCredentialsError < Error; end
    end
  end
end

Add base error class Line::Bot::API::Error
Add base error class Line::Bot::API::Error
