Skip to content

added BusinessNameFromVatID case

Latest

Choose a tag to compare

@tanthammar tanthammar released this 03 Jul 18:17
· 2 commits to main since this release

Enhance BusinessNameFromVatID service with improved error handling

  • Add Invalid error case to BusinessNameLookupError enum for invalid VAT IDs
  • Add label() method to BusinessNameLookupError for human-readable messages
  • Pre-validate VAT format before external API calls to avoid unnecessary requests
  • Update README documentation to reflect new error handling capabilities

🤖 Generated with Claude Code