Pudu programming language
Menu

Std.App.Bind.refusal

1 declaration

fn

refusal: &Std.App.Bind.Bound -> Std.Http.Response

This is a callable function.

What it does

The refusal a failed binding becomes.

The status says which kind of problem it was, and the body names the fields

and what each had to be. It names no values: the sender knows what they

sent, and a response is a place something they sent would be rendered.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.App.BindSearch related declarations