# Error proc (world)

Source: https://ref.dm-lang.org/world/proc/Error
Added in BYOND 508.

### Format
> `Error(exception)`

### Args
> exception: The error that was thrown. If this was a runtime error, the value will be an /exception datum.

Called when a runtime error happens, or the throw keyword is used, without a try/catch to handle it. The return value is ignored.

### See also
- [try and catch statements](https://ref.dm-lang.org/proc/try.md)
- [throw statement](https://ref.dm-lang.org/proc/throw.md)
- [exception](https://ref.dm-lang.org/exception.md)
