landlab.field.errors#

exception Error[source]#

Bases: Exception

Base class for errors in this module.

__init__(*args, **kwargs)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception FieldError[source]#

Bases: Error, KeyError

Raise this error for a missing field name.

__init__(field)[source]#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception GroupError[source]#

Bases: Error, KeyError

Raise this error for a missing group name.

__init__(group)[source]#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception GroupSizeError[source]#

Bases: Error, KeyError

Raise this error if a group has changed sizes.

__init__(group, old_size, new_size)[source]#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.