Add a note regarding error codes

pull/2/head
Alexandre Dulaunoy 2016-02-29 21:49:42 +01:00
parent dd3195eff8
commit 93624bf0c3
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ Create your module in [modules/expansion/](modules/expansion/). The module shoul
* **introspection** function that returns an array of the supported attributes by your expansion module.
* **handler** function which accepts a JSON document to expand the values and return a dictionary of the expanded values.
Don't forget to return an error key and value if an error is raised to propagate it to the MISP user-interface.
## Testing your modules?
MISP uses the **modules** function to discover the available MISP modules and their supported MISP attributes: