Forum Discussion

Ben-Dev's avatar
Ben-Dev
Helper II
4 years ago
Solved

M Language - Error Records' New Fields (Message.Format & Message.Parameters

Hello,   At some point in the not too distant past, error records were expanded from three fields (Reason, Message, Details) to five fields (with the addition of fields Message.Format and Message.P...
  • Ehren's avatar
    4 years ago

    Your guess is correct. 🙂

     

    Here's an example:

    error [
        Message.Format = "Hello #{0}.",
        Message.Parameters = {"world"}
    ]