original_string: public function getSummaryAttribute()
      {
          if (preg_match("/with message '(.+)' in/", $this->message, $match)) {
              return $match[1];
          }
  
          return Str::limit($this->message, 100);
      }
code: public function getSummaryAttribute()
      {
          if (preg_match("/with message '(.+)' in/", $this->message, $match)) {
              return $match[1];
          }
  
          return Str::limit($this->message, 100);
      }
code_tokens: public function getSummaryAttribute ( ) { if ( preg_match ( "/with message '(.+)' in/" , $ this -> message , $ match ) ) { return $ match [ 1 ] ; } return Str :: limit ( $ this -> message , 100 ) ; }
docstring: Creates a shorter version of the message attribute,
  extracts the exception message or limits by 100 characters.
  @return string
docstring_tokens: Creates a shorter version of the message attribute extracts the exception message or limits by 100 characters .