LALSimulation 6.2.0.1-eeff03c
lalsimulation.gwsignal.core.errors.PathError Class Reference

Detailed Description

Raise Exception when the needed file is not at the given path.

Parameters

file_name : Path to the file in question. message : Output message for the error.

Returns

Raises File not found at given path error excetion.

Definition at line 129 of file errors.py.

Inherits FileNotFoundError.

Public Member Functions

def __init__ (self, file_path, message="File not found at ")
 
def __str__ (self)
 

Data Fields

 file_path
 
 message
 

Constructor & Destructor Documentation

◆ __init__()

def lalsimulation.gwsignal.core.errors.PathError.__init__ (   self,
  file_path,
  message = "File not found at " 
)

Definition at line 130 of file errors.py.

Member Function Documentation

◆ __str__()

def lalsimulation.gwsignal.core.errors.PathError.__str__ (   self)

Definition at line 135 of file errors.py.

Field Documentation

◆ file_path

lalsimulation.gwsignal.core.errors.PathError.file_path

Definition at line 131 of file errors.py.

◆ message

lalsimulation.gwsignal.core.errors.PathError.message

Definition at line 132 of file errors.py.