Previous topic

events

Next topic

factory

This Page

exc

class pyogp.lib.base.exc.MessageDeserializationError(label='', reason='')

problem deserializing packet data

stores the label and reason in label and reason attributes

args
message
exception message
class pyogp.lib.base.exc.AgentDomainError

base exception for all errors which can occur on an agent domain

args
message
exception message
class pyogp.lib.base.exc.UserNotFound(credentials=None)

user couldn’t be found

This exception stores the credentials used inside a credentials attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.ResourceNotFound(url='')

raised if a resource couldn’t be found

the URL to that resource is stored inside a url attribute.

args
message
exception message
class pyogp.lib.base.exc.DataParsingError(error=None)

an error raised data parsing fails

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.AgentError

general Agent exception

args
message
exception message
class pyogp.lib.base.exc.MessageSerializationError(label='', reason='')

problem serializing packet data

stores the label and reason in label and reason attributes

args
message
exception message
class pyogp.lib.base.exc.DeserializationError

deserialization related exception

args
message
exception message
class pyogp.lib.base.exc.RegionSeedCapNotAvailable(reason=None)

an error raised in case a user couldn’t be authorized

stores the cap used inside a cap attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.RegionCapNotAvailable(cap=None)

an error raised in case a user couldn’t be authorized

stores the cap used inside a cap attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.MessageTemplateParsingError(context='', template='')

message template parsing error

stores the context in a context attribute

args
message
exception message
class pyogp.lib.base.exc.UserNotAuthorized(credentials=None)

an error raised in case a user couldn’t be authorized

stores the credentials used inside a credentials attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.DataUnpackingError(data='', reason='')

problem deserializing packet data

stores the label and reason in label and reason attributes

args
message
exception message
class pyogp.lib.base.exc.CircuitNotFound(host='', reason='')

circuit to host could not be found

stores the host missing a circuit in a host attribute

args
message
exception message
class pyogp.lib.base.exc.ResourceError(url='', code='', message='', body='', method='GET')

raised if any other error occurred (usually a 500)

contains url to the resource and code and message and body

args
message
exception message
class pyogp.lib.base.exc.CredentialDeserializerNotFound(payload='')

raised if a deserializer for a certain content type couldn’t be found

stores the content type inside a content_type attribute.

args
message
exception message
class pyogp.lib.base.exc.NotImplemented(error=None)

an error raised when method is not implemented

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.MessageSystemError

message system related exception

args
message
exception message
class pyogp.lib.base.exc.DeserializerNotFound(content_type='')

raised if a deserializer for a certain content type couldn’t be found

stores the content type inside a content_type attribute.

args
message
exception message
class pyogp.lib.base.exc.LoginError(error)

raised if there is an error in login

args
message
exception message
class pyogp.lib.base.exc.SerializationError

serialization related exceptions

args
message
exception message
class pyogp.lib.base.exc.ParseStartLocError(error)

raised when the is an error in parsing the user specified start location

args
message
exception message
class pyogp.lib.base.exc.RegionDomainError

base exception for all errors which can occur on an region domain

args
message
exception message
class pyogp.lib.base.exc.Error

base exception for all pyogp related exceptions

args
message
exception message
class pyogp.lib.base.exc.HTTPError(code, msg, fp, details='')

an HTTP error

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.DeserializationFailed(payload='', reason='')

raised if a deserializer couldn’t deserialize a payload

stores the payload inside a payload attribute and the error message inside a reason attribute.

args
message
exception message
class pyogp.lib.base.exc.RegionMessageError(region=None)

an error raised when a region does not have a connection over which it can send UDP messages

accepts a region object as an attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.Deprecated(thing=None)

an error raised when method is not implemented

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.UserRezFailed(region=None)

an error raised in case a user couldn’t rez on a sim

stores the region used inside a region attribute

initialize this exception

args
message
exception message
class pyogp.lib.base.exc.MessageTemplateNotFound(context='', template='')

message template file not found

stores the context in a context attribute

args
message
exception message
class pyogp.lib.base.exc.NetworkError

general network exception

args
message
exception message
class pyogp.lib.base.exc.MessageBuildingError(label='', reason='')

problem serializing packet data

stores the label and reason in label and reason attributes

args
message
exception message