Petals BC Filetransfer

Rework error management

Details

  • Description:
    Hide

    Currently, IO errors are returned as a fault.

    We should distinguish between IO errors as technical errors or business errors. Technical errors should be returned as simple error, instead of business errors that should be returned as faults.

    All errors are technical errors except the following ones, per operation:

    • check, del, mget:
      • filename missing in request,
    • get:
      • filename missing in request,
      • file not found,
      • XML file expected,
    • getAsAttachment:
      • filename missing in request,
      • file not found,
    • mput:
      • at least on attachment expected
    Show
    Currently, IO errors are returned as a fault. We should distinguish between IO errors as technical errors or business errors. Technical errors should be returned as simple error, instead of business errors that should be returned as faults. All errors are technical errors except the following ones, per operation:
    • check, del, mget:
      • filename missing in request,
    • get:
      • filename missing in request,
      • file not found,
      • XML file expected,
    • getAsAttachment:
      • filename missing in request,
      • file not found,
    • mput:
      • at least on attachment expected
  • Environment:
    -

People

Dates

  • Created:
    Wed, 4 Dec 2019 - 11:39:15 +0100
    Updated:
    Thu, 5 Dec 2019 - 18:15:33 +0100
    Resolved:
    Thu, 5 Dec 2019 - 18:15:33 +0100