from strictyaml.parser import load

# Validators
from strictyaml.validators import Optional
from strictyaml.validators import Validator
from strictyaml.validators import OrValidator
from strictyaml.validators import Any
from strictyaml.validators import Scalar
from strictyaml.validators import Enum
from strictyaml.validators import Str
from strictyaml.validators import Int
from strictyaml.validators import Bool
from strictyaml.validators import Float
from strictyaml.validators import Decimal
from strictyaml.validators import Map
from strictyaml.validators import MapPattern
from strictyaml.validators import Seq
from strictyaml.validators import UniqueSeq

# Exceptions
from strictyaml.exceptions import StrictYAMLError

# Validaton
from strictyaml.exceptions import YAMLValidationError

# Disallowed token exceptions
from strictyaml.exceptions import DisallowedToken

from strictyaml.exceptions import TagTokenDisallowed
from strictyaml.exceptions import FlowMappingDisallowed
from strictyaml.exceptions import AnchorTokenDisallowed
from strictyaml.parser import load

# Validators
from strictyaml.validators import Optional
from strictyaml.validators import Validator
from strictyaml.validators import OrValidator
from strictyaml.validators import Any
from strictyaml.validators import Scalar
from strictyaml.validators import Enum
from strictyaml.validators import Str
from strictyaml.validators import Int
from strictyaml.validators import Bool
from strictyaml.validators import Float
from strictyaml.validators import Decimal
from strictyaml.validators import Map
from strictyaml.validators import MapPattern
from strictyaml.validators import Seq
from strictyaml.validators import UniqueSeq

# Exceptions
from strictyaml.exceptions import YAMLError
from strictyaml.exceptions import StrictYAMLError
from strictyaml.exceptions import YAMLValidationError

# Disallowed token exceptions
from strictyaml.exceptions import DisallowedToken

from strictyaml.exceptions import TagTokenDisallowed
from strictyaml.exceptions import FlowMappingDisallowed
from strictyaml.exceptions import AnchorTokenDisallowed
REFACTOR : Import YAMLError so it is usable as a generic exception.
REFACTOR : Import YAMLError so it is usable as a generic exception.

  from strictyaml.parser import load
  
  # Validators
  from strictyaml.validators import Optional
  from strictyaml.validators import Validator
  from strictyaml.validators import OrValidator
  from strictyaml.validators import Any
  from strictyaml.validators import Scalar
  from strictyaml.validators import Enum
  from strictyaml.validators import Str
  from strictyaml.validators import Int
  from strictyaml.validators import Bool
  from strictyaml.validators import Float
  from strictyaml.validators import Decimal
  from strictyaml.validators import Map
  from strictyaml.validators import MapPattern
  from strictyaml.validators import Seq
  from strictyaml.validators import UniqueSeq
  
  # Exceptions
+ from strictyaml.exceptions import YAMLError
  from strictyaml.exceptions import StrictYAMLError
- 
- # Validaton
  from strictyaml.exceptions import YAMLValidationError
  
  # Disallowed token exceptions
  from strictyaml.exceptions import DisallowedToken
  
  from strictyaml.exceptions import TagTokenDisallowed
  from strictyaml.exceptions import FlowMappingDisallowed
  from strictyaml.exceptions import AnchorTokenDisallowed
REFACTOR : Import YAMLError so it is usable as a generic exception.
## Code Before:
from strictyaml.parser import load

# Validators
from strictyaml.validators import Optional
from strictyaml.validators import Validator
from strictyaml.validators import OrValidator
from strictyaml.validators import Any
from strictyaml.validators import Scalar
from strictyaml.validators import Enum
from strictyaml.validators import Str
from strictyaml.validators import Int
from strictyaml.validators import Bool
from strictyaml.validators import Float
from strictyaml.validators import Decimal
from strictyaml.validators import Map
from strictyaml.validators import MapPattern
from strictyaml.validators import Seq
from strictyaml.validators import UniqueSeq

# Exceptions
from strictyaml.exceptions import StrictYAMLError

# Validaton
from strictyaml.exceptions import YAMLValidationError

# Disallowed token exceptions
from strictyaml.exceptions import DisallowedToken

from strictyaml.exceptions import TagTokenDisallowed
from strictyaml.exceptions import FlowMappingDisallowed
from strictyaml.exceptions import AnchorTokenDisallowed
## Instruction:
REFACTOR : Import YAMLError so it is usable as a generic exception.
## Code After:
from strictyaml.parser import load

# Validators
from strictyaml.validators import Optional
from strictyaml.validators import Validator
from strictyaml.validators import OrValidator
from strictyaml.validators import Any
from strictyaml.validators import Scalar
from strictyaml.validators import Enum
from strictyaml.validators import Str
from strictyaml.validators import Int
from strictyaml.validators import Bool
from strictyaml.validators import Float
from strictyaml.validators import Decimal
from strictyaml.validators import Map
from strictyaml.validators import MapPattern
from strictyaml.validators import Seq
from strictyaml.validators import UniqueSeq

# Exceptions
from strictyaml.exceptions import YAMLError
from strictyaml.exceptions import StrictYAMLError
from strictyaml.exceptions import YAMLValidationError

# Disallowed token exceptions
from strictyaml.exceptions import DisallowedToken

from strictyaml.exceptions import TagTokenDisallowed
from strictyaml.exceptions import FlowMappingDisallowed
from strictyaml.exceptions import AnchorTokenDisallowed