Skip to main content

Mojo struct

EmptyDictError

struct EmptyDictError

A custom error type for when a Dict is empty.

Implemented traits

AnyType, ImplicitlyDestructible, Writable

comptime members

__del__is_trivial

comptime __del__is_trivial = True

Methods

write_to

write_to(self, mut writer: T)

This always writes "EmptyDictError".

Args:

  • writer (T): The writer to write to.

Was this page helpful?