feat(directive): issue 5893, implementation has created exceptions