"""
 cellpointapi

 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
"""
from __future__ import annotations

from typing import List


class UnknownEvent:
    """
     Represents an unrecognized or unsupported event during processing.

    :param errors: A list of error messages describing the reasons for verification
                   failure.
    :type errors: List[str]
    """

    def __init__(self, errors: List[str]) -> None:
        """
         Initialize with the errors that caused the failure.

        :param errors: A list of error messages describing the reasons for verification
                       failure.
        :type errors: List[str]
        """
        self.errors = errors

    def __str__(self) -> str:
        """
         Return a string representation of the failure.

        :return: A string containing all error messages.
        :rtype: str
        """
        return str(self.errors)
