landlab.field.errors

exception Error[source]

Bases: Exception

Base class for errors in this module.

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)
add_note(note, /)

Add a note to the exception

args
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]
classmethod __new__(*args, **kwargs)
add_note(note, /)

Add a note to the exception

args
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]
classmethod __new__(*args, **kwargs)
add_note(note, /)

Add a note to the exception

args
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]
classmethod __new__(*args, **kwargs)
add_note(note, /)

Add a note to the exception

args
with_traceback(tb, /)

Set self.__traceback__ to tb and return self.