Error Code Index

Table of Contents

B500: You ran into a bug 🐛

This is a bug.

E001: Syntax error

The file contained invalid syntax.

E002: Name defined multiple times

Items with the same name were defined in the same scope.

E003: Resource has multiple constructors

A Resource contains multiple constructor() functions.

E004: Reference to unknown name

The code referenced a name that doesn’t exist in the current scope.

E005: Mismatched package declarations

A directory contains multiple *.wit files with a package declaration, but the package declarations aren’t identical.

E006: Package docs can only be defined in a single file

Only one file is allowed to document a package.

E007: Reference to unknown package

The package you are referring to isn’t known by the compiler.

W001: This type is deprecated

An item was deprecated.