dvTooLargeMessage function

String dvTooLargeMessage(
  1. int limit
)

What a refused body is told.

The limit is in it. A 413 with no number leaves somebody guessing at what would have been accepted, and the number is not a secret -- it is the contract.

Implementation

String dvTooLargeMessage(int limit) =>
    'Request body too large. This endpoint accepts at most $limit bytes.';