koraktor/steam-condenser-ruby

View on GitHub
lib/steam-condenser/error/rcon_no_auth.rb

Summary

Maintainability
A
0 mins
Test Coverage
# This code is free software; you can redistribute it and/or modify it under
# the terms of the new BSD License.
#
# Copyright (c) 2008-2012, Sebastian Staudt

require 'steam-condenser/error'

module SteamCondenser

  # This error class indicates that you have not authenticated yet with the
  # game server you're trying to send commands via RCON
  #
  # @author Sebastian Staudt
  # @see GameServer#rcon_auth
  # @see GameServer#rcon_exec
  class Error::RCONNoAuth < Error

    # Creates a new `Error::RCONNoAuth` instance
    def initialize
      super 'Not authenticated yet.'
    end

  end
end