--- title: "Warning or Error on Water Contacting Edge of Domain" slug: "warning-or-error-on-water-contacting-edge-of-domain-htm" description: "Learn how to instruct the 2D solver to act on the event of water coming into contact with the edge of an active area. " tags: ["2D modelling"] updated: 2022-07-29T11:17:48Z published: 2022-07-29T11:17:48Z canonical: "help.floodmodeller.com/warning-or-error-on-water-contacting-edge-of-domain-htm" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.floodmodeller.com/llms.txt > Use this file to discover all available pages before exploring further. # Warning or Error on Water Contacting Edge of Domain The user may instruct 2D solver to act on the event of water coming into contact with the edge of the active area. This feature is useful for determining if the modelled domain needs to be further extended. Actions can either be: - Issue a warning and continue or... - Issue an error and stop the simulation This condition is evaluated at the same time a domain's mass balance error is determined. The following code snippets show how to issue a warning: ... warning ... or and error ... ... error