mewlo.mpacks.core.eventlog.mewloexception module

mewloexception.py This module contains classes and functions for custom exception handling They are used to help us easily wrap a python exception in our event class system

exception mewlo.mpacks.core.eventlog.mewloexception.MewloException(source='', code=None, exp=None, obj=None)[source]

Bases: exceptions.Exception

Derived exception.

ammend_reraise_message(msg, obj)[source]

Add some additional info to our message.

as_mevent()[source]

Return the exception as an event.

get_supers_string_withnewlines()[source]
exception mewlo.mpacks.core.eventlog.mewloexception.MewloException_NoRender(source='', code=404, exp=None, obj=None)[source]

Bases: mewlo.mpacks.core.eventlog.mewloexception.MewloException_Web

Derived Mewlo exception.

exception mewlo.mpacks.core.eventlog.mewloexception.MewloException_ObjectDoesNotExist(source='', code=404, exp=None, obj=None)[source]

Bases: mewlo.mpacks.core.eventlog.mewloexception.MewloException_Web

Derived Mewlo exception.

exception mewlo.mpacks.core.eventlog.mewloexception.MewloException_Web(source='', code=404, exp=None, obj=None)[source]

Bases: mewlo.mpacks.core.eventlog.mewloexception.MewloException

Derived Mewlo exception.

mewlo.mpacks.core.eventlog.mewloexception.reraiseplus(exp, msg='', obj=None)[source]

Create a new exception, wrapping another exception.

Table Of Contents

Previous topic

mewlo.mpacks.core.eventlog.mevent module

Next topic

mewlo.mpacks.core.eventlog.mexceptionplus module

This Page