code: def __init__(self, expected, got):
      super(ExpectationFailed, self).__init__(
          "Expected result: %s, got %s"
          % (truncate(expected), truncate(got))
      )
  
imports: import sys
  import os
  from metaflow.exception import MetaflowException
  from metaflow import current
  from metaflow.cards import get_cards
  from metaflow.plugins.cards.exception import CardNotPresentException
label_desc: Use image node_id 1 to create a new ExpectationFailed object from inherited base classes: Exception with example: obj = ExpectationFailed(expected, got)