Path: redb-route/redb.Route/Abstractions/MalformedRequestException.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Abstractions/MalformedRequestException.cs ---- namespace redb.Route.Abstractions; /// /// The incoming request could not be bound to what the receiver expects — an unparsable body, a /// parameter of the wrong shape. It is the CALLER's error, and transports that catch it answer /// with their "your request is wrong" form: the SOAP consumer writes a Sender/Client /// fault carrying this message instead of a Receiver fault with a generic text. /// /// /// The message deliberately describes the caller's own bytes (the missing member, the token that /// did not parse) — returning it is the BR-4 rule, not a violation of it: unlike an action /// failure, nothing in it is ours to hide. This type lives in the core so that a dispatcher /// (redb.Route.Controllers) can signal it without referencing any transport package, and a /// transport (redb.Route.Soap) can recognise it without referencing the dispatchers. /// public sealed class MalformedRequestException : Exception { /// Creates the exception with a caller-facing description of what did not bind. public MalformedRequestException(string message, Exception? innerException = null) : base(message, innerException) { } }