# __TYPE__ macro

Source: https://ref.dm-lang.org/DM/preprocessor/__TYPE__
Added in BYOND 515.

The `__TYPE__` macro is replaced by a reference to the type path currently being compiled. This may be useful when generating debugging error messages. If used in a global proc, the value will be null.

This is actually a pseudo-macro; the preprocessor doesn't handle it directly.

### See also
- [__FILE__ macro](https://ref.dm-lang.org/DM/preprocessor/__FILE__.md)
- [__LINE__ macro](https://ref.dm-lang.org/DM/preprocessor/__LINE__.md)
- [__PROC__ macro](https://ref.dm-lang.org/DM/preprocessor/__PROC__.md)
- [__IMPLIED_TYPE__ macro](https://ref.dm-lang.org/DM/preprocessor/__IMPLIED_TYPE__.md)
