Core.error_code: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core Lines 574-587 of bendtorch-core@0.1.0.0/src/tensor/core.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/core.bend&start_line=574&end_line=587 import Base import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape import bendtorch-core@0.1.0.0/src/storage/main.bend as Storage def error_code(error: Error) -> U32: match error: case ShapeError{error}: Shape.error_code(error) case StorageError{Storage.TooLarge{}}: 7 case StorageError{Storage.OutOfBounds{}}: 8 case StorageError{Storage.InvalidIndex{}}: 9 case ValueCountMismatch{}: 10 case StorageLengthMismatch{}: 11 Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/shape/core.bend&name=error_code https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/main.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/core.bend&name=Error