roqueform-external-errors-plugin - v0.0.3
    Preparing search index...

    Interface SetExternalErrorsOptions<ExternalError, Error>

    interface SetExternalErrorsOptions<ExternalError, Error> {
        isRecursive?: boolean;
        orphanExternalErrorAdapter?: ExternalErrorAdapter<ExternalError, Error>;
    }

    Type Parameters

    • ExternalError

      The external error that can be adapted by the field.

    • Error

      The error that is associated with the field.

    Index

    Properties

    isRecursive?: boolean

    If true then external errors are adapted by both this field and all of its descendant fields.

    false
    
    orphanExternalErrorAdapter?: ExternalErrorAdapter<ExternalError, Error>

    Called when there are external errors that were not associated with any field.

    The external error to set.