# Errors

### General

While working on the configuration file, you might make a mistake at some point. To know that once it happens, I recommend enabling the console feature of the External File Loader by doing the following:

1. Navigate into the game directory.
2. Open the following file: `{game}/x64/hook.ini`.
3. Scroll down to the `[log]` section.
4. Set the property `disableConsole` to `false`.

Now whenever you start the game, an additional terminal window will be opened beside it. This window will be updated with information about any errors that may occur while the game is open.

### Example

Let's assume you created the following configuration:

```lua
local function config(statusEffects, augments, foes, actions, contents)
  local statusEffects = {}
  local dialogId = 102
  local augmentId = 114
  local soundEffectId = 104
  local learnables = {
    --{foeId, {action0, content0, chance0}, {...}, {actionX, contentX, chanceX}}
    {foes.happyBunny, {actions.cure, contents.cure, 10.00}}
  }

  return statusEffects, dialogId, augmentId, soundEffectId, learnables
end

return config
```

As you probably noticed, the content type (`magicks`) is missing in `contents.cure`. That's why an error will be thrown once this configuration file is loaded.
