Class BaseErrorResponder<T extends UserTrade>

    • Constructor Detail

      • BaseErrorResponder

        public BaseErrorResponder​(T trade)
        The edit orders use a separate base responder from the rest of the responders as not all states can go to rejected. But most do go to error.
        trade - The underlying trade
    • Method Detail

      • sendError

        public void sendError​(ErrorEvent<T> event)

        Sends an ErrorEvent containing an error message and error code

        event - The ErrorEvent containing the error message and error code
        Throws: - If there was a problem sending the event