ItemConsulting / enonic-fp

Functional programming helpers for Enonic XP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add mapping from `EnonicError` to HTTP-status.

tajakobsen opened this issue · comments

Either add http status to EnonicError, or add a function that does the mapping.

There is an Array in enonic-wizardry that can be used for this.