error module for coscms