Do you have fewer than 39 titles? Check out this issue:

- Mismatched WiFi modules can cause the same error

Description

The DSi boots up to "an error has occurred."

This can be caused by having more than 39 titles installed to your NAND.

Solution

Use ntrboot to flash a NAND backup from before you bricked.

If you don't have a NAND backup, you will need to manually edit NAND.

Editing your NAND: